wpedit md

This commit is contained in:
guy committed 2020-12-12 23:56:30 -06:00
1 parent 59864b8fea
commit 810e2ee9c8
3 files changed
+9 -5

No files matched your search

+5 -1
View File
@@ -127,6 +127,10 @@ watchAstarCommand()
for (;;)
{
self waittill("astar");
if (1)
continue;
self iprintln("Start AStar");
self.astar = undefined;
astar = spawnStruct();
@@ -136,7 +140,7 @@ watchAstarCommand()
self iprintln("End AStar");
astar.goal = self.origin;
astar.nodes = AStarSearch(astar.start, astar.goal, self.team, false);
astar.nodes = AStarSearch(astar.start, astar.goal, undefined, true);
self iprintln("AStar size: " + astar.nodes.size);
self.astar = astar;