Update tab_local.lua
This commit is contained in:
parent
d33796feb3
commit
b7a1d3bc40
|
@ -95,7 +95,7 @@ local function get_formspec(tabview, name, tabdata)
|
|||
retval = retval ..
|
||||
"button[4,4.15;2.6,0.5;world_delete;".. fgettext("Delete") .. "]" ..
|
||||
"button[6.5,4.15;2.8,0.5;world_create;".. fgettext("New") .. "]" ..
|
||||
"button[9.2,4.15;2.55,0.5;world_configure;".. fgettext("Configure") .. "]" ..
|
||||
-- "button[9.2,4.15;2.55,0.5;world_configure;".. fgettext("Configure") .. "]" ..
|
||||
"label[4,-0.25;".. fgettext("Select World:") .. "]"..
|
||||
"checkbox[0.25,0.15;cb_server;".. fgettext("Host Server") ..";" ..
|
||||
dump(core.settings:get_bool("enable_server")) .. "]" ..
|
||||
|
@ -105,7 +105,7 @@ local function get_formspec(tabview, name, tabdata)
|
|||
|
||||
if core.settings:get_bool("enable_server") then
|
||||
retval = retval ..
|
||||
"button[8.5,5;3.25,0.5;play;".. fgettext("Host Game") .. "]" ..
|
||||
"button[9.2,4.15;2.55,0.5;play;".. fgettext("Host Game") .. "]" ..
|
||||
"checkbox[0.25,0.8;cb_server_announce;" .. fgettext("Announce Server") .. ";" ..
|
||||
dump(core.settings:get_bool("server_announce")) .. "]" ..
|
||||
"label[0.25,1.9.2;" .. fgettext("Name/Password") .. "]" ..
|
||||
|
@ -127,7 +127,7 @@ local function get_formspec(tabview, name, tabdata)
|
|||
end
|
||||
else
|
||||
retval = retval ..
|
||||
"button[8.5,5;3.25,0.5;play;".. fgettext("Play Game") .. "]"
|
||||
"button[9.2,4.15;2.55,0.5;play;".. fgettext("Play Game") .. "]"
|
||||
end
|
||||
|
||||
return retval
|
||||
|
|
Loading…
Reference in New Issue