(4efa46ffe) Limit the base priority due to devotion to 10.

This commit is contained in:
Joonas Rikkonen
2019-05-16 05:10:42 +03:00
parent cdeb6d40b3
commit 781fd44a8c
13 changed files with 113 additions and 78 deletions
@@ -1156,6 +1156,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; }