1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-14 17:15:21 +02:00

Clean up and improve mainmenu theme / game theme code (#13885)

This commit is contained in:
Gregor Parzefall
2023-10-18 20:18:50 +02:00
committed by GitHub
parent 62eb6cfed0
commit b1dec37adb
10 changed files with 96 additions and 80 deletions

View File

@@ -1177,8 +1177,12 @@ end
function store.handle_events(event)
if event == "DialogShow" then
-- On mobile, don't show the "MINETEST" header behind the dialog.
mm_game_theme.set_engine(TOUCHSCREEN_GUI)
-- If the store is already loaded, auto-install packages here.
do_auto_install()
return true
end