From: sapier Date: Fri, 12 Jul 2013 21:30:15 +0000 (+0200) Subject: Revert "Fix serverdescription and name not beeing saved to local serverlist" X-Git-Url: http://81.2.79.47:8989/gitweb/?a=commitdiff_plain;h=47a0a5c74670972eb80c8a59d318011e6c530e92;p=zefram%2Fminetest%2Fminetest_engine.git Revert "Fix serverdescription and name not beeing saved to local serverlist" This reverts commit 7dbbbfc665e285cc9eb9d750c3a449d7da178d4f. (was added twice) --- diff --git a/builtin/mainmenu.lua b/builtin/mainmenu.lua index c8b0e4b8..d5b4453c 100644 --- a/builtin/mainmenu.lua +++ b/builtin/mainmenu.lua @@ -644,11 +644,6 @@ function tabbuilder.handle_multiplayer_buttons(fields) gamedata.serverdescription = menu.favorites[event.index].description end - if menu.favorites ~= nil then - gamedata.servername = menu.favorites[event.index].name - gamedata.serverdescription = menu.favorites[event.index].description - end - if gamedata.address ~= nil and gamedata.port ~= nil then