diff --git a/src/ruler.js b/src/ruler.js index c519fc7..6bbf9eb 100644 --- a/src/ruler.js +++ b/src/ruler.js @@ -126,6 +126,7 @@ export function extendRuler() { this.pathfindingJob = pathfindingJob; return this.pathfindingJob.then(result => { if (pathfindingJob === this.pathfindingJob) { + this.pathfindingJob = undefined; this.addPathToWaypoints(result?.path); return this.performPostPathfindingActions(options); }