From: PilzAdam Date: Tue, 6 Aug 2013 15:28:48 +0000 (+0200) Subject: Fix worldlist in servertab being filtered by selected game X-Git-Url: http://81.2.79.47:8989/gitweb/?a=commitdiff_plain;h=ba65e2ae6c9578309049b685f3052e424fb410b8;p=zefram%2Fminetest%2Fminetest_engine.git Fix worldlist in servertab being filtered by selected game --- diff --git a/builtin/mainmenu.lua b/builtin/mainmenu.lua index e000e665..610926e4 100644 --- a/builtin/mainmenu.lua +++ b/builtin/mainmenu.lua @@ -864,7 +864,11 @@ function tabbuilder.init() end end - menu.update_gametype() + if tabbuilder.current_tab ~= "singleplayer" then + menu.update_gametype(true) + else + menu.update_gametype() + end end --------------------------------------------------------------------------------