Removing orphans in PathFinder.GenerateNodes, fixed autopilot steering the wrong way if clicking an already selected destination tickbox

This commit is contained in:
Regalis
2016-11-15 20:48:52 +02:00
parent 642a1bdd54
commit 184c6858cd
2 changed files with 3 additions and 7 deletions

View File

@@ -424,10 +424,10 @@ namespace Barotrauma.Items.Components
maintainPosTickBox.Selected = false;
posToMaintain = null;
tickBox.Selected = true;
UpdatePath();
tickBox.Selected = true;
return true;
}