diff options
Diffstat (limited to 'PathfindingContext.cpp')
-rw-r--r-- | PathfindingContext.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/PathfindingContext.cpp b/PathfindingContext.cpp index df2f65b..95ac3b1 100644 --- a/PathfindingContext.cpp +++ b/PathfindingContext.cpp @@ -16,6 +16,7 @@ PathfindingContext::PathfindingContext(Museum & m) : museum(m) { void PathfindingContext::cycle_solver() { this->solver_index = (this->solver_index + 1) % this->solvers.size(); + this->update(); } Pathfinder & PathfindingContext::get_solver() { |