From eca0010b0bad8788bd716e600405009c9db6cb6c Mon Sep 17 00:00:00 2001 From: Isaac Rivera Date: Fri, 30 Aug 2024 11:09:16 -0400 Subject: [PATCH] always remove the start clock window when closing the menu --- src/start_menu.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/src/start_menu.c b/src/start_menu.c index 3579436ece82..890221355b1e 100644 --- a/src/start_menu.c +++ b/src/start_menu.c @@ -550,12 +550,10 @@ static void RemoveExtraStartMenuWindows(void) ClearStdWindowAndFrameToTransparent(sBattlePyramidFloorWindowId, FALSE); RemoveWindow(sBattlePyramidFloorWindowId); } - else - { - ClearStdWindowAndFrameToTransparent(sStartClockWindowId, FALSE); - // CopyWindowToVram(sStartClockWindowId, COPYWIN_GFX); - RemoveWindow(sStartClockWindowId); - } + + ClearStdWindowAndFrameToTransparent(sStartClockWindowId, FALSE); + // CopyWindowToVram(sStartClockWindowId, COPYWIN_GFX); + RemoveWindow(sStartClockWindowId); } static bool32 PrintStartMenuActions(s8 *pIndex, u32 count)