(8ea276c68) Fixed game settings panel input consistency

This commit is contained in:
Joonas Rikkonen
2019-04-01 22:52:17 +03:00
parent 26210da6a6
commit ca9a516403
4 changed files with 82 additions and 89 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);