Some cleanup (mostly removing redundancies from the GameMain class)

This commit is contained in:
Regalis
2017-05-03 00:27:13 +03:00
parent 39ddd63e0c
commit ba49f59204
12 changed files with 81 additions and 108 deletions

View File

@@ -561,7 +561,7 @@ namespace Barotrauma.Networking
case (byte)PacketTypes.StartGame:
if (Screen.Selected == GameMain.GameScreen) continue;
startGameCoroutine = GameMain.ShowLoading(StartGame(inc), false);
startGameCoroutine = GameMain.Instance.ShowLoading(StartGame(inc), false);
break;
case (byte)PacketTypes.EndGame: