Adding CrewManager to GUIUpdateList in single player mode
This commit is contained in:
@@ -362,6 +362,8 @@ namespace Barotrauma
|
|||||||
|
|
||||||
public void AddToGUIUpdateList()
|
public void AddToGUIUpdateList()
|
||||||
{
|
{
|
||||||
|
if (CrewManager != null) CrewManager.AddToGUIUpdateList();
|
||||||
|
|
||||||
if (gameMode != null) gameMode.AddToGUIUpdateList();
|
if (gameMode != null) gameMode.AddToGUIUpdateList();
|
||||||
|
|
||||||
if (infoFrame != null) infoFrame.AddToGUIUpdateList();
|
if (infoFrame != null) infoFrame.AddToGUIUpdateList();
|
||||||
|
|||||||
@@ -343,8 +343,6 @@ namespace Barotrauma.Networking
|
|||||||
if (gameStarted && Screen.Selected == GameMain.GameScreen)
|
if (gameStarted && Screen.Selected == GameMain.GameScreen)
|
||||||
{
|
{
|
||||||
inGameHUD.AddToGUIUpdateList();
|
inGameHUD.AddToGUIUpdateList();
|
||||||
|
|
||||||
GameMain.GameSession.CrewManager.AddToGUIUpdateList();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user