(3c957365d) tweaks and decals

This commit is contained in:
Joonas Rikkonen
2019-05-16 06:01:01 +03:00
parent e019b0e3d5
commit e56ff196d4
12 changed files with 210 additions and 257 deletions
@@ -1860,6 +1860,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; }