Skip to content

Commit

Permalink
more optimasation
Browse files Browse the repository at this point in the history
  • Loading branch information
TheCK committed Dec 18, 2024
1 parent c4a2f2f commit 0944a94
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ private void run(
}
}

previousPath.clear();
Coordinate current = new Coordinate(gridSize, gridSize);
while (current != null) {
previousPath.add(current);
Expand Down

0 comments on commit 0944a94

Please sign in to comment.