GUIMessageBoxes are drawn on top of everything else (they were obstructed by shiftsummary), placing background sprites based on level seed, instructions for dealing with broken junction boxes in tutorial

This commit is contained in:
Regalis
2016-05-01 18:55:44 +03:00
parent 63bb78b3ef
commit 3f22b2e4df
5 changed files with 46 additions and 43 deletions

View File

@@ -300,8 +300,6 @@ namespace Barotrauma
if (!paused) Screen.Selected.Update(deltaTime);
GUI.Update((float)deltaTime);
if (NetworkMember != null)
{
NetworkMember.Update((float)deltaTime);
@@ -310,6 +308,9 @@ namespace Barotrauma
{
NetworkEvent.Events.Clear();
}
GUI.Update((float)deltaTime);
}
CoroutineManager.Update((float)deltaTime, paused ? 0.0f : (float)deltaTime);