(bad03a33d) Don't translate language names to the current display language in the settings menu (should be translated to the target language instead)

This commit is contained in:
Joonas Rikkonen
2019-05-16 05:44:31 +03:00
parent 7ae2b2f387
commit 96b2d953d2
14 changed files with 277 additions and 663 deletions
@@ -1624,6 +1624,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; }