Fix possible script error

This commit is contained in:
ineedbots 2021-04-26 20:19:35 -07:00
parent 2adb5c8af8
commit c4fc8c3b2f

View File

@ -368,7 +368,7 @@ watchSaveWaypointsCommand()
{ {
self iPrintlnBold("Auto link enabled"); self iPrintlnBold("Auto link enabled");
level.autoLink = true; level.autoLink = true;
level.wpToLink = self.nearest; level.wpToLink = self.closest;
} }
} }