(f17acef79) Added the new electrical discharge sound to the project file

This commit is contained in:
Joonas Rikkonen
2019-04-01 22:47:50 +03:00
parent 7cb70fa344
commit 4558d8b919
5 changed files with 56 additions and 10 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);