fix missing core:pathfinding 'reset_route' function
This commit is contained in:
parent
e08c51aa43
commit
83f7146a14
@ -25,6 +25,10 @@ function get_route()
|
|||||||
return route
|
return route
|
||||||
end
|
end
|
||||||
|
|
||||||
|
function reset_route()
|
||||||
|
route = nil
|
||||||
|
end
|
||||||
|
|
||||||
function next_waypoint()
|
function next_waypoint()
|
||||||
if not route or #route == 0 then
|
if not route or #route == 0 then
|
||||||
return
|
return
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user