diff options
author | sapier <Sapier at GMX dot net> | 2013-07-13 00:00:06 +0200 |
---|---|---|
committer | PilzAdam <pilzadam@minetest.net> | 2013-07-22 18:09:59 +0200 |
commit | 80a2acaa86de99356879f3c79adb63fea47d00ee (patch) | |
tree | d76f05dc8cb4df27d8260553f9e979480dc7c8d9 /builtin/mainmenu.lua | |
parent | 47a0a5c74670972eb80c8a59d318011e6c530e92 (diff) | |
download | minetest-80a2acaa86de99356879f3c79adb63fea47d00ee.tar.gz minetest-80a2acaa86de99356879f3c79adb63fea47d00ee.tar.bz2 minetest-80a2acaa86de99356879f3c79adb63fea47d00ee.zip |
Swap name/password <-> server description
Diffstat (limited to 'builtin/mainmenu.lua')
-rw-r--r-- | builtin/mainmenu.lua | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/builtin/mainmenu.lua b/builtin/mainmenu.lua index d5b4453c4..8cb786047 100644 --- a/builtin/mainmenu.lua +++ b/builtin/mainmenu.lua @@ -1054,7 +1054,7 @@ function tabbuilder.tab_multiplayer() "vertlabel[0,-0.25;CLIENT]" .. "label[1,-0.25;Favorites:]".. "label[1,4.25;Address/Port]".. - "label[9,0;Name/Password]" .. + "label[9,2.75;Name/Password]" .. "field[1.25,5.25;5.5,0.5;te_address;;" ..engine.setting_get("address") .."]" .. "field[6.75,5.25;2.25,0.5;te_port;;" ..engine.setting_get("port") .."]" .. "checkbox[1,3.6;cb_public_serverlist;Public Serverlist;" .. @@ -1067,9 +1067,9 @@ function tabbuilder.tab_multiplayer() retval = retval .. "button[9,4.95;2.5,0.5;btn_mp_connect;Connect]" .. - "field[9.25,1;2.5,0.5;te_name;;" ..engine.setting_get("name") .."]" .. - "pwdfield[9.25,1.75;2.5,0.5;te_pwd;]" .. - "textarea[9.25,2.25;2.5,2.75;;" + "field[9.3,3.75;2.5,0.5;te_name;;" ..engine.setting_get("name") .."]" .. + "pwdfield[9.3,4.5;2.5,0.5;te_pwd;]" .. + "textarea[9.3,0.25;2.5,2.75;;" if menu.fav_selected ~= nil and menu.favorites[menu.fav_selected].description ~= nil then retval = retval .. |