Don't remove background of games in submenus

This commit is contained in:
BlockMen 2013-10-23 12:58:23 +02:00 committed by Novatux
parent 53ab2f8def
commit 1cbba877ff

@ -812,7 +812,7 @@ function tabbuilder.handle_tab_buttons(fields)
--handle tab changes --handle tab changes
if tabbuilder.current_tab ~= tabbuilder.old_tab then 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) menu.update_gametype(true)
end end
end end