Fix connecting to a server with the lobby enabled.

This commit is contained in:
Pieter-Jan Briers
2019-07-15 18:57:17 +02:00
parent cdcafbada6
commit 806e95b382
2 changed files with 2 additions and 2 deletions

View File

@@ -178,7 +178,7 @@ namespace Content.Client.GameTicking
_tutorialButton = null;
}
_gameHud.RootControl?.Parent.RemoveChild(_gameHud.RootControl);
_gameHud.RootControl.Parent?.RemoveChild(_gameHud.RootControl);
_tickerState = TickerState.InLobby;