(6934499e1) Removed: Duplicates from EnglishVanilla

This commit is contained in:
Joonas Rikkonen
2019-03-27 20:55:22 +02:00
parent 9c5b43bf72
commit 55cb2b84d7
2 changed files with 190 additions and 0 deletions
@@ -663,6 +663,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);