(b4d4f6802) Re-enable initiative.

This commit is contained in:
Joonas Rikkonen
2019-05-16 05:49:32 +03:00
parent c28106812d
commit b105ef71eb
11 changed files with 313 additions and 151 deletions
@@ -1696,6 +1696,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; }