(9f4948c63) Fixed: Welcome text size. Added: Using enter / escape to close both videoplayer and infobox to prevent errors when quitting while these are active

This commit is contained in:
Joonas Rikkonen
2019-03-27 20:52:30 +02:00
parent b66bdb6da4
commit 47b16f4f9e
9 changed files with 247 additions and 7 deletions
@@ -670,6 +670,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);