From: BlockMen Date: Wed, 23 Oct 2013 10:58:23 +0000 (+0200) Subject: Don't remove background of games in submenus X-Git-Url: http://81.2.79.47:8989/gitweb/?a=commitdiff_plain;h=1cbba877ffaa1b080d08e7571665e086f4656805;p=zefram%2Fminetest%2Fminetest_engine.git Don't remove background of games in submenus --- diff --git a/builtin/mainmenu.lua b/builtin/mainmenu.lua index 0f34c67e..3b988cd8 100644 --- a/builtin/mainmenu.lua +++ b/builtin/mainmenu.lua @@ -812,7 +812,7 @@ function tabbuilder.handle_tab_buttons(fields) --handle tab changes if tabbuilder.current_tab ~= tabbuilder.old_tab then - if tabbuilder.current_tab ~= "singleplayer" then + if tabbuilder.current_tab ~= "singleplayer" and not tabbuilder.is_dialog then menu.update_gametype(true) end end