(edf82e6ca) Modified: VideoPlayer video position, medical objective completion, saving segment when objective is completed

This commit is contained in:
Joonas Rikkonen
2019-03-27 20:50:50 +02:00
parent 91e87e8b74
commit 8b5e18c348
10 changed files with 247 additions and 37 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);