diff --git a/port/assets/menus/ce/main_menu.multiplayer_type_select.connected.xml b/port/assets/menus/ce/main_menu.multiplayer_type_select.connected.xml index 786f8ca1..4ae27ed8 100644 --- a/port/assets/menus/ce/main_menu.multiplayer_type_select.connected.xml +++ b/port/assets/menus/ce/main_menu.multiplayer_type_select.connected.xml @@ -1,7 +1,7 @@ - + diff --git a/tools/port_settings.py b/tools/port_settings.py index 6e8028f8..c987b9f1 100644 --- a/tools/port_settings.py +++ b/tools/port_settings.py @@ -618,6 +618,11 @@ MAP_KIND_CHOOSER = "main_menu/new_select/list_item_0_map_kind" # changes to the PC version's widgets (by our names): attributes set, all # their handlers replaced, children added, game data inputs added WIDGET_PATCHES = { + # The host returns here after a round with no menu history. Back must + # reopen the main menu when it closes the last screen, as the lobby does. + f"{MT}/connected/connected_map_select_wrapper": {"set": { + "flags": "pass_unhandled_to_focused_child pause_game main_menu_if_no_history tag_controller_index force_handle_mouse", + }}, # (the profile settings' picture: on Gamepad Setup's row, the profile's # button settings, BITMAP_FRAMES; menu_functions.c's # profile_gamepad_layout)