autfly: add wp-gui menu entry
This commit is contained in:
parent
e5f220693a
commit
be40b3da54
@ -426,6 +426,7 @@ register_chatcommand_alias('clear_waypoint', 'cwp','cls')
|
||||
if (_G["minetest"]["register_cheat"] ~= nil) then
|
||||
minetest.register_cheat("AutoAim", "Autofly", "afly_autoaim")
|
||||
minetest.register_cheat("SoftLanding", "Autofly", "afly_softlanding")
|
||||
minetest.register_cheat("Display GUI", "Autofly", autofly.display_formspec)
|
||||
else
|
||||
minetest.settings:set_bool("afly_autoaim",false)
|
||||
minetest.settings:set_bool("afly_softlanding",true)
|
||||
|
Loading…
x
Reference in New Issue
Block a user