(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
@@ -38,9 +38,6 @@ namespace Barotrauma
public override bool IsCompleted() => false;
public override bool CanBeCompleted => true;
public override bool IsCompleted() => false;
public override bool CanBeCompleted => true;
public override void Update(float deltaTime)
{
if (objectiveManager.CurrentObjective == this)
@@ -89,9 +86,6 @@ namespace Barotrauma
character.SelectedConstruction = null;
}
bool currentTargetIsInvalid = currentTarget == null || IsForbidden(currentTarget) ||
(PathSteering.CurrentPath != null && PathSteering.CurrentPath.Nodes.Any(n => HumanAIController.UnsafeHulls.Contains(n.CurrentHull)));
bool currentTargetIsInvalid = currentTarget == null || IsForbidden(currentTarget) ||
(PathSteering.CurrentPath != null && PathSteering.CurrentPath.Nodes.Any(n => HumanAIController.UnsafeHulls.Contains(n.CurrentHull)));