forked from Mirrorlandia_minetest/minetest
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
|
--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
|
||||||
|
Loading…
Reference in New Issue
Block a user