Skip to content

Commit

Permalink
add a few guiding comments
Browse files Browse the repository at this point in the history
  • Loading branch information
GenerelSchwerz committed Mar 4, 2024
1 parent 06bb137 commit 06c8cf7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/ThePathfinder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -586,6 +586,9 @@ export class ThePathfinder {
if (res.result.status === 'noPath' || res.result.status === 'timeout') break

if (res.result.status === 'partialSuccess') {

// could potentially introduce a bug of movement count not matching entirely.
// Keep a lookout for that.
const newPath = await this.postProcess(res.result)
if (res1 === null) res1 = newPath
else {
Expand Down

0 comments on commit 06c8cf7

Please sign in to comment.