(10a11fd09) Rename a variable.

This commit is contained in:
Joonas Rikkonen
2019-05-16 05:32:20 +03:00
parent 2b029fc61a
commit 0714599f05
9 changed files with 208 additions and 243 deletions
@@ -1452,6 +1452,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; }