autofly: fix warning

This commit is contained in:
cora 2020-11-16 16:00:14 +01:00
parent f56b498088
commit 35e3abecf9

View File

@ -224,7 +224,7 @@ function autofly.goto(pos)
--minetest.settings:set("movement_speed_walk", "5")
autofly.aim(autofly.last_coords)
autofly.flying=true
return autofly.set_hud_wp(autofly.get_waypoint(name), name)
return autofly.set_hud_wp(autofly.get_waypoint(autofly.last_name), autofly.last_name)
end
function autofly.arrived()