(8d0d7ce53) Fixed: Some rooms not using translations

This commit is contained in:
Joonas Rikkonen
2019-05-16 06:04:40 +03:00
parent 4b9fbe596c
commit 24be77b15e
12 changed files with 309 additions and 142 deletions
@@ -1912,6 +1912,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; }