autofly: fix warning

wsc-master-rebase
cora 2020-11-16 16:00:14 +01:00 committed by Schmappie Eldress
parent e3d3ff720e
commit 6af8242717
1 changed files with 1 additions and 1 deletions

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()