aboutsummaryrefslogtreecommitdiff
path: root/builtin
diff options
context:
space:
mode:
authorBlockMen <nmuelll@web.de>2013-10-23 12:58:23 +0200
committerNovatux <nathanael.courant@laposte.net>2013-11-01 16:46:25 +0100
commit1cbba877ffaa1b080d08e7571665e086f4656805 (patch)
tree5b1cf424ed752ab60ebb9f90c24b5046f020f9ae /builtin
parent53ab2f8defa119477965b57218ec1f78c487a7e3 (diff)
downloadminetest-1cbba877ffaa1b080d08e7571665e086f4656805.tar.gz
minetest-1cbba877ffaa1b080d08e7571665e086f4656805.tar.bz2
minetest-1cbba877ffaa1b080d08e7571665e086f4656805.zip
Don't remove background of games in submenus
Diffstat (limited to 'builtin')
-rw-r--r--builtin/mainmenu.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/mainmenu.lua b/builtin/mainmenu.lua
index 0f34c67ea..3b988cd8d 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