v1.4.5.0 (Blood in the Water Hotfix)

This commit is contained in:
itchyOwl
2024-04-26 17:03:10 +03:00
parent 10285b8b34
commit 848113b8cb
15 changed files with 96 additions and 48 deletions
@@ -1820,7 +1820,7 @@ namespace Barotrauma.Networking
if (Screen.Selected != GameMain.GameScreen)
{
new GUIMessageBox(TextManager.Get("PleaseWait"), TextManager.Get(allowSpectating ? "RoundRunningSpectateEnabled" : "RoundRunningSpectateDisabled"));
if (!(Screen.Selected is ModDownloadScreen)) { GameMain.NetLobbyScreen.Select(); }
if (Screen.Selected is not ModDownloadScreen) { GameMain.NetLobbyScreen.Select(); }
}
}
}