(7076afabd) Reimplemented the "new game" menu changes in b378675 using layout groups

This commit is contained in:
Joonas Rikkonen
2019-04-01 22:52:04 +03:00
parent a3eabfabac
commit 26210da6a6
4 changed files with 89 additions and 22 deletions
@@ -656,13 +656,6 @@ 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);