mirror of
https://github.com/minetest/minetest.git
synced 2024-11-27 10:03:45 +01:00
Don't remove background of games in submenus
This commit is contained in:
parent
53ab2f8def
commit
1cbba877ff
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user