(3c1d889c9) Fixed voice activity controls going outside the settings frame

This commit is contained in:
Joonas Rikkonen
2019-04-01 22:52:58 +03:00
parent ee18a1b508
commit ae3dea40b0
4 changed files with 82 additions and 19 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);