From e57f62a18653e4adc37930ec3aded7588500740b Mon Sep 17 00:00:00 2001 From: cora Date: Sun, 15 Nov 2020 17:09:45 +0100 Subject: [PATCH] autofly: fix arrive --- clientmods/autofly/init.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/clientmods/autofly/init.lua b/clientmods/autofly/init.lua index e2c602627..adb89831d 100644 --- a/clientmods/autofly/init.lua +++ b/clientmods/autofly/init.lua @@ -240,6 +240,7 @@ function autofly.arrived() minetest.settings:set_bool("autoeat_timed",false) core.set_keypress("special1", false) autofly.set_hud_info("Arrived at destination") + autofly.flying = false minetest.localplayer:hud_change(hud_info,'text',autofly.last_name .. "\n" .. "Arrived at destination.") minetest.sound_play({name = "default_dug_metal", gain = 1.0}) end