summaryrefslogtreecommitdiffhomepage
path: root/samples/13_path_finding_algorithms/06_heuristic/app/main.rb
diff options
context:
space:
mode:
Diffstat (limited to 'samples/13_path_finding_algorithms/06_heuristic/app/main.rb')
-rw-r--r--samples/13_path_finding_algorithms/06_heuristic/app/main.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/samples/13_path_finding_algorithms/06_heuristic/app/main.rb b/samples/13_path_finding_algorithms/06_heuristic/app/main.rb
index cbdfca7..ad4c5ce 100644
--- a/samples/13_path_finding_algorithms/06_heuristic/app/main.rb
+++ b/samples/13_path_finding_algorithms/06_heuristic/app/main.rb
@@ -969,7 +969,7 @@ def tick args
end
# Every tick, new args are passed, and the Breadth First Search tick is called
- $heuristic_with_walls ||= Heuristic_With_Walls.new(args)
+ $heuristic_with_walls ||= Heuristic_With_Walls.new
$heuristic_with_walls.args = args
$heuristic_with_walls.tick
end