(d0dd81be0) Rename a method.

This commit is contained in:
Joonas Rikkonen
2019-05-16 05:26:58 +03:00
parent 0325ddf9c6
commit 78b1d8ef8d
10 changed files with 290 additions and 76 deletions
@@ -1376,6 +1376,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; }