add 'total_visited' to route & refactor
This commit is contained in:
@@ -5,7 +5,7 @@ local started
|
||||
local tsf = entity.transform
|
||||
|
||||
agent = pathfinding.create_agent()
|
||||
pathfinding.set_max_visited(agent, 1e5)
|
||||
pathfinding.set_max_visited(agent, 1e4)
|
||||
|
||||
function set_target(new_target)
|
||||
target = new_target
|
||||
|
||||
Reference in New Issue
Block a user