Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix suboptimal paths on multiple droids pathfinding to same location.
On finding the optimal path for a droid, pathfinding was immediately terminated, on reaching the droid, without considering paths crossing the droid's tile. The next droid to pathfind to the same location would re-use the pathfinding map, which has a hole around where the previous droid was, which could lead to long detours (or not finding a path) if the previous droid/droids was/were in a 1-tile-wide/narrow passage.
- Loading branch information