diff --git a/data/ai/scenarios/scenario-lua-ai.cfg b/data/ai/scenarios/scenario-lua-ai.cfg index 8b9935834ff..3874f8617e1 100644 --- a/data/ai/scenarios/scenario-lua-ai.cfg +++ b/data/ai/scenarios/scenario-lua-ai.cfg @@ -343,7 +343,7 @@ function my_ai:patrol_gen(ai, n, w1, w2) -- n is the name of the unit, like Kire if (x == waypoints[wpn].x and y == waypoints[wpn].y) then wpn = 3 - wpn -- hardcoded for two waypoints end - ai.move(unit, waypoints[wpn].x, waypoints[wpn].y) + ai.move_full(unit, waypoints[wpn].x, waypoints[wpn].y) end end