Skip to content

Commit

Permalink
Set LAST_VISITED_LENGTH to 2
Browse files Browse the repository at this point in the history
  • Loading branch information
wallabra committed Jan 15, 2025
1 parent 09ad881 commit e985a07
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ZScript.zs
Original file line number Diff line number Diff line change
Expand Up @@ -1339,7 +1339,7 @@ class ZTBotController : Actor {
TryPushToLastVisited(pn);
}

const LAST_VISITED_LENGTH = 5;
const LAST_VISITED_LENGTH = 2;

bool TryPushToLastVisited(ZTPathNode node) {
if (node == null) {
Expand Down Expand Up @@ -1367,7 +1367,7 @@ class ZTBotController : Actor {
}

// push in
A_Log("New lastVisited: "..node.id);
//A_Log("New lastVisited: "..node.id);
lastVisited[0] = node;

return true;
Expand Down

0 comments on commit e985a07

Please sign in to comment.