aboutsummaryrefslogtreecommitdiff
path: root/PathfindingContext.cpp
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-10-24 21:14:14 +0200
committerLoek Le Blansch <loek@pipeframe.xyz>2024-10-24 21:14:14 +0200
commitda669db4f083194bc78358041c5d9929e103ac9f (patch)
tree3b1b27cac655cb7f852ff4d13233bc278f12ff0f /PathfindingContext.cpp
parentdabfb8188aab86ea8d8c9794ee8e46f6e22291f4 (diff)
add more todos, shortcut keys and logging
Diffstat (limited to 'PathfindingContext.cpp')
-rw-r--r--PathfindingContext.cpp1
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() {