(4ff749939) Added new environment assets for implementation

This commit is contained in:
Joonas Rikkonen
2019-05-16 05:51:28 +03:00
parent 049d3ba795
commit 57302f7bb8
24 changed files with 339 additions and 331 deletions
@@ -1724,6 +1724,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; }