(b378675eb) Improved New Game panel

This commit is contained in:
Joonas Rikkonen
2019-04-01 22:51:21 +03:00
parent a46c195532
commit 508bd960be
5 changed files with 59 additions and 71 deletions
@@ -656,6 +656,13 @@ namespace Barotrauma
msg.Timer -= deltaTime;
msg.Pos += msg.Velocity * deltaTime;
}
foreach (GUIMessage msg in messages)
{
if (!msg.WorldSpace) continue;
msg.Timer -= deltaTime;
msg.Pos += msg.Velocity * deltaTime;
}
}
messages.RemoveAll(m => m.Timer <= 0.0f);