Adding CrewManager to GUIUpdateList in single player mode

This commit is contained in:
Regalis
2016-11-16 21:40:13 +02:00
parent 16cf9f6c81
commit 1c206e1730
2 changed files with 2 additions and 2 deletions

View File

@@ -362,6 +362,8 @@ namespace Barotrauma
public void AddToGUIUpdateList()
{
if (CrewManager != null) CrewManager.AddToGUIUpdateList();
if (gameMode != null) gameMode.AddToGUIUpdateList();
if (infoFrame != null) infoFrame.AddToGUIUpdateList();

View File

@@ -343,8 +343,6 @@ namespace Barotrauma.Networking
if (gameStarted && Screen.Selected == GameMain.GameScreen)
{
inGameHUD.AddToGUIUpdateList();
GameMain.GameSession.CrewManager.AddToGUIUpdateList();
}
}