(73193fb71) Updated a couple of sound effects

This commit is contained in:
Joonas Rikkonen
2019-04-01 22:47:36 +03:00
parent 2eaf22683d
commit 7cb70fa344
6 changed files with 48 additions and 51 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);