diff --git a/Barotrauma/BarotraumaClient/Source/Networking/GameClient.cs b/Barotrauma/BarotraumaClient/Source/Networking/GameClient.cs index fdc0164cf..fb6837e05 100644 --- a/Barotrauma/BarotraumaClient/Source/Networking/GameClient.cs +++ b/Barotrauma/BarotraumaClient/Source/Networking/GameClient.cs @@ -1142,9 +1142,13 @@ namespace Barotrauma.Networking public IEnumerable EndGame(string endMessage) { - if (!gameStarted) yield return CoroutineStatus.Success; + if (!gameStarted) + { + GameMain.NetLobbyScreen.Select(); + yield return CoroutineStatus.Success; + } - if (GameMain.GameSession != null) GameMain.GameSession.GameMode.End(endMessage); + if (GameMain.GameSession != null) { GameMain.GameSession.GameMode.End(endMessage); } gameStarted = false; Character.Controlled = null;