Skip to content

Commit

Permalink
Update tab_local.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
grorp committed Aug 28, 2023
1 parent b018c96 commit 4c6f28a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions builtin/mainmenu/tab_local.lua
Original file line number Diff line number Diff line change
Expand Up @@ -199,16 +199,16 @@ local function get_formspec(tabview, name, tabdata)
"checkbox[0,"..y..";cb_server_announce;" .. fgettext("Announce Server") .. ";" ..
dump(core.settings:get_bool("server_announce")) .. "]"

y = y + yo + 0.25
y = y + yo + 0.35

retval = retval .. "field[0," .. y .. ";4.5,0.75;te_playername;" .. fgettext("Name") .. ";" ..
core.formspec_escape(current_name) .. "]"

y = y + 1 + 0.25
y = y + 1.15 + 0.25

retval = retval .. "pwdfield[0," .. y .. ";4.5,0.75;te_passwd;" .. fgettext("Password") .. "]"

y = y + 1 + 0.25
y = y + 1.15 + 0.25

local bind_addr = core.settings:get("bind_address")
if bind_addr ~= nil and bind_addr ~= "" then
Expand Down

0 comments on commit 4c6f28a

Please sign in to comment.