Don't remove background of games in submenus

This commit is contained in:
BlockMen 2013-10-23 12:58:23 +02:00 committed by Nils Dagsson Moskopp
parent 07e6b6e8d6
commit 0092022c14
Signed by: erle
GPG Key ID: A3BC671C35191080
1 changed files with 1 additions and 1 deletions

View File

@ -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