(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
@@ -32,6 +32,10 @@ namespace Barotrauma
private AIObjectiveGoTo gotoObjective;
private bool useController;
private AIObjectiveGoTo gotoObjective;
public override bool CanBeCompleted
{
get
@@ -53,6 +57,8 @@ namespace Barotrauma
public ItemComponent Component => component;
public ItemComponent Component => component;
public override float GetPriority(AIObjectiveManager objectiveManager)
{
if (gotoObjective != null && !gotoObjective.CanBeCompleted) { return 0; }