(2c8e14bca) Added edge variants for new environment base textures

This commit is contained in:
Joonas Rikkonen
2019-05-16 05:54:50 +03:00
parent e9664d3639
commit 0bb541bce8
29 changed files with 438 additions and 405 deletions
@@ -1772,6 +1772,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; }