mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
fix missing core:pathfinding 'reset_route' function
This commit is contained in:
parent
e08c51aa43
commit
83f7146a14
1 changed files with 4 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue