From 224b9a15493c6c734425980cca26289e34409d71 Mon Sep 17 00:00:00 2001 From: Eduardo Quezada D'Ottone Date: Mon, 21 Feb 2022 20:29:46 -0300 Subject: [PATCH] Fixed softlock when pressing the start button while in link room --- src/start_menu.c | 26 +++++++++++--------------- 1 file changed, 11 insertions(+), 15 deletions(-) diff --git a/src/start_menu.c b/src/start_menu.c index 71fb78f68d..a9ecb2c47b 100644 --- a/src/start_menu.c +++ b/src/start_menu.c @@ -283,21 +283,17 @@ static void BuildStartMenuActions(void) { BuildMultiPartnerRoomStartMenu(); } - #ifdef TX_DEBUGGING - if (TX_DEBUG_MENU_OPTION) - { - BuildDebugStartMenu(); - } - else - { - BuildNormalStartMenu(); - } - #else - else - { - BuildNormalStartMenu(); - } - #endif +#if defined(TX_DEBUGGING) && TX_DEBUG_MENU_OPTION + else + { + BuildDebugStartMenu(); + } +#else + else + { + BuildNormalStartMenu(); + } +#endif } static void AddStartMenuAction(u8 action)