(6840c9114) Set the objective frame to be drawn behind other gui elements. TODO: test and complain if doesn't work ;)

This commit is contained in:
Joonas Rikkonen
2019-03-27 20:49:53 +02:00
parent 5c324a6de9
commit 69852a141e
8 changed files with 227 additions and 6 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);