switch home and go buttons around :)

This commit is contained in:
tenplus1 2021-03-29 20:45:34 +01:00
parent 7324a47ba9
commit cee538ad9c

View File

@ -7,8 +7,8 @@ local statspawn = minetest.string_to_pos(
local get_formspec = function(name)
local formspec = "size[6,2]"
.. "button_exit[2,2.5;4,1;home_gui_set;" .. S("Set Home") .. "]"
.. "button_exit[2,4.5;4,1;home_gui_go;" .. S("Go Home") .. "]"
.. "button_exit[2,2.5;4,1;home_gui_go;" .. S("Go Home") .. "]"
.. "button_exit[2,4.5;4,1;home_gui_set;" .. S("Set Home") .. "]"
.. "button_exit[2,6.5;4,1;home_gui_spawn;" .. S("Spawn") .. "]"
local home = sethome.get(name)