Merge branch 'master' of https://gitlab.com/poe.regalis/barotrauma
This commit is contained in:
@@ -921,6 +921,24 @@ namespace Barotrauma
|
||||
playerList.ClearChildren();
|
||||
}
|
||||
|
||||
public override void AddToGUIUpdateList()
|
||||
{
|
||||
base.AddToGUIUpdateList();
|
||||
|
||||
if (jobInfoFrame != null)
|
||||
{
|
||||
jobInfoFrame.AddToGUIUpdateList();
|
||||
}
|
||||
else if (playerFrame != null)
|
||||
{
|
||||
playerFrame.AddToGUIUpdateList();
|
||||
}
|
||||
else
|
||||
{
|
||||
menu.AddToGUIUpdateList();
|
||||
}
|
||||
}
|
||||
|
||||
public override void Update(double deltaTime)
|
||||
{
|
||||
base.Update(deltaTime);
|
||||
@@ -949,9 +967,7 @@ namespace Barotrauma
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
menu.Update((float)deltaTime);
|
||||
|
||||
menu.Update((float)deltaTime);
|
||||
}
|
||||
|
||||
if (autoRestartTimer != 0.0f && autoRestartBox.Selected)
|
||||
|
||||
Reference in New Issue
Block a user