(27b4fa143) Tune the priority modifiers.

This commit is contained in:
Joonas Rikkonen
2019-05-16 05:18:18 +03:00
parent f61bff8970
commit fea0c31e85
8 changed files with 299 additions and 46 deletions
@@ -1256,6 +1256,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; }