fix missing core:pathfinding 'reset_route' function

This commit is contained in:
MihailRis 2025-09-20 11:16:37 +03:00
parent e08c51aa43
commit 83f7146a14

View File

@ -25,6 +25,10 @@ function get_route()
return route
end
function reset_route()
route = nil
end
function next_waypoint()
if not route or #route == 0 then
return