(82dc10a74) Some margin.

This commit is contained in:
Joonas Rikkonen
2019-05-16 05:35:30 +03:00
parent 9fba7b1d7a
commit 14e894cbc8
12 changed files with 345 additions and 683 deletions
@@ -1496,6 +1496,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; }