aboutsummaryrefslogtreecommitdiff
path: root/builtin
diff options
context:
space:
mode:
authorPilzAdam <pilzadam@minetest.net>2013-08-06 17:28:48 +0200
committerPilzAdam <pilzadam@minetest.net>2013-08-06 17:28:51 +0200
commitba65e2ae6c9578309049b685f3052e424fb410b8 (patch)
tree8f8df0a837006908bd84965e9154fe88f4a2d7e7 /builtin
parent53bf62bb8391e97d120bbbdb03b18d0bb2e99f03 (diff)
downloadminetest-ba65e2ae6c9578309049b685f3052e424fb410b8.tar.gz
minetest-ba65e2ae6c9578309049b685f3052e424fb410b8.tar.bz2
minetest-ba65e2ae6c9578309049b685f3052e424fb410b8.zip
Fix worldlist in servertab being filtered by selected game
Diffstat (limited to 'builtin')
-rw-r--r--builtin/mainmenu.lua6
1 files changed, 5 insertions, 1 deletions
diff --git a/builtin/mainmenu.lua b/builtin/mainmenu.lua
index e000e6654..610926e43 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
--------------------------------------------------------------------------------