(094a20e08) Fixed incorrect emergency light scale, translated comments in the xml (english pls)

This commit is contained in:
Joonas Rikkonen
2019-04-18 12:31:08 +03:00
parent ea54fa24fe
commit 639eb6c1f3
2 changed files with 21 additions and 29 deletions
@@ -1140,6 +1140,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; }