(0c17563ce) Temporarily disable the initiative.

This commit is contained in:
Joonas Rikkonen
2019-05-16 05:32:04 +03:00
parent 5f610caadd
commit 2b029fc61a
8 changed files with 287 additions and 80 deletions
@@ -1448,6 +1448,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; }