mirror of
https://github.com/evennia/evennia.git
synced 2026-03-16 12:56:30 +01:00
xyzgrid: Return Dijkstra solution
When loading the Dijkstra solution, results are stored but recalculated anyway. This should be returned instead.
This commit is contained in:
parent
172d5162f0
commit
7c6bad3b42
1 changed files with 1 additions and 0 deletions
|
|
@ -624,6 +624,7 @@ class XYMap:
|
|||
# we can re-use the stored data!
|
||||
self.dist_matrix = dist_matrix
|
||||
self.pathfinding_routes = pathfinding_routes
|
||||
return
|
||||
|
||||
# build a matrix representing the map graph, with 0s as impassable areas
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue