Fixed NullReferenceExceptions if in the netlobby when a round ends, fixed chatmsgbox staying disabled after being stunned

This commit is contained in:
Regalis
2016-08-16 20:18:19 +03:00
parent 6c5452570e
commit 26b6847bca
3 changed files with 8 additions and 6 deletions

View File

@@ -200,6 +200,8 @@ namespace Barotrauma
GameMain.NetworkMember = null;
}
GameMain.GameSession = null;
GameMain.MainMenuScreen.Select();
//Game1.MainMenuScreen.SelectTab(null, (int)MainMenuScreen.Tabs.Main);