Revert "Fix serverdescription and name not beeing saved to local serverlist"
authorsapier <Sapier at GMX dot net>
Fri, 12 Jul 2013 21:30:15 +0000 (23:30 +0200)
committerPilzAdam <pilzadam@minetest.net>
Mon, 22 Jul 2013 16:09:59 +0000 (18:09 +0200)
This reverts commit 7dbbbfc665e285cc9eb9d750c3a449d7da178d4f.
(was added twice)

builtin/mainmenu.lua

index c8b0e4b872b356a8272e52d9feb66ec060738648..d5b4453c43231ba6b01d1c42dd7f018ca54d7cd0 100644 (file)
@@ -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