diff --git a/Content.Client/GameTicking/ClientGameTicker.cs b/Content.Client/GameTicking/ClientGameTicker.cs index 2092c78424..bab225f1e9 100644 --- a/Content.Client/GameTicking/ClientGameTicker.cs +++ b/Content.Client/GameTicking/ClientGameTicker.cs @@ -91,6 +91,7 @@ namespace Content.Client.GameTicking _lobby = null; _gameChat?.Dispose(); _gameChat = null; + _gameHud.RootControl.Orphan(); } public void FrameUpdate(RenderFrameEventArgs renderFrameEventArgs) @@ -171,7 +172,7 @@ namespace Content.Client.GameTicking _gameChat = null; } - _gameHud.RootControl.Parent?.RemoveChild(_gameHud.RootControl); + _gameHud.RootControl.Orphan(); _tickerState = TickerState.InLobby;