(f46ddf83f) Fixed calyxanide not being usable in syringe guns

This commit is contained in:
Joonas Rikkonen
2019-04-01 22:48:20 +03:00
parent cbb3216466
commit ed3d5fadeb
4 changed files with 83 additions and 13 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);