aboutsummaryrefslogtreecommitdiff
path: root/builtin
diff options
context:
space:
mode:
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