Update mainmenu/init.lua

This commit is contained in:
Signal 2025-06-28 15:35:33 +00:00
parent e4bea7c082
commit 3842087493

View file

@ -1674,9 +1674,13 @@ minetest.set_clouds(false)
if last_game then
state.current_game = get_game_info(last_game)
state.menu_current = {"main"}
state.loc = "game"
show_game_menu()
if state.current_game then
state.menu_current = {"main"}
state.loc = "game"
show_game_menu()
else
show_meta_menu()
end
else
show_meta_menu()
end