autofly: removed image test
This commit is contained in:
parent
1a5f55d893
commit
182a28e197
@ -31,6 +31,7 @@ minetest.register_globalstep(function()
|
||||
elseif autoeat.eating then
|
||||
last_step_eating = true
|
||||
end
|
||||
|
||||
if not autoeat_timed then return end
|
||||
if ( autofly.speed ~= 0 and minetest.settings:get_bool("autosprint") )
|
||||
or (minetest.settings:get_bool("autosprintfsprint") and minetest.settings:get_bool("continuous_forward") )
|
||||
|
@ -232,6 +232,8 @@ end
|
||||
function autofly.arrived()
|
||||
minetest.settings:set("continuous_forward", "false")
|
||||
minetest.settings:set_bool("pitch_move",oldpm)
|
||||
minetest.settings:set_bool("afly_autoaim",false)
|
||||
minetest.settings:set_bool("autoeat_timed",false)
|
||||
core.set_keypress("special1", false)
|
||||
autofly.set_hud_info("Arrived at destination")
|
||||
minetest.localplayer:hud_change(hud_info,'text',twpname .. "\n" .. "Arrived at destination.")
|
||||
|
@ -26,7 +26,6 @@ function autofly.display_formspec()
|
||||
'button[2.125,7.5;1.2,0.5;warpae;w+e]' ..
|
||||
'button[2.625,7.5;1.3,0.5;rename;Rename]' ..
|
||||
'button[3.9375,7.5;1.3,0.5;delete;Delete]' ..
|
||||
'image[50,50;100,100;"test"]'..
|
||||
'textlist[0,0.75;5,6;marker;'
|
||||
|
||||
-- Iterate over all the waypoints
|
||||
|
Loading…
x
Reference in New Issue
Block a user