Flip controls

master
Wuzzy 2018-01-16 21:05:18 +01:00
parent 441ce475fe
commit d50eddda4e
1 changed files with 4 additions and 4 deletions

View File

@ -76,7 +76,7 @@ local open_command_configuration = function(itemstack, player, pointed_thing)
"size[6,6]"..
"textarea[0.25,0;6,4;commands;Commands:;"..minetest.formspec_escape(commands_str).."]"..
"button_exit[0.5,5;2,1;ok;OK]"..
"button_exit[3.5,5;2,1;canceel;Cancel]"
"button_exit[3.5,5;2,1;cancel;Cancel]"
minetest.show_formspec(player_name, "cmdtool", formspec)
end
@ -84,9 +84,9 @@ minetest.register_tool("cmdtool:cmdtool", {
description = "Command Tool",
inventory_image = "cmdtool_cmdtool.png",
wield_imagee = "cmdtool_cmdtool.png",
on_place = execute_command,
on_secondary_use = execute_command,
on_use = open_command_configuration,
on_use = execute_command,
on_place = open_command_configuration,
on_secondary_use = open_command_configuration,
})
-- Set commands