(54f876598) Fixed: Invalid identifier for the Terminate a Swarm mission

This commit is contained in:
Joonas Rikkonen
2019-05-16 06:03:34 +03:00
parent a469dad251
commit 392040c29c
11 changed files with 387 additions and 86 deletions
@@ -1896,6 +1896,10 @@ namespace Barotrauma
{
ApplyStatusEffects(!waterProof && inWater ? ActionType.InWater : ActionType.NotInWater, deltaTime);
}
if (!broken)
{
ApplyStatusEffects(!waterProof && inWater ? ActionType.InWater : ActionType.NotInWater, deltaTime);
}
ApplyStatusEffects(!waterProof && inWater ? ActionType.InWater : ActionType.NotInWater, deltaTime);
if (body == null || !body.Enabled || !inWater || ParentInventory != null || Removed) { return; }