Fix flag debug screen corrupting subsequent message boxes (#3317)

This commit is contained in:
DizzyEggg 2023-09-21 16:45:02 +02:00 committed by GitHub
parent 5b498e968f
commit 8bf8c9e7a7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1315,10 +1315,6 @@ static void DebugTask_HandleMenuInput_FlagsVars(u8 taskId)
{
PlaySE(SE_SELECT);
Debug_DestroyMenu(taskId);
ClearStdWindowAndFrame(gTasks[taskId].data[2], TRUE);
RemoveWindow(gTasks[taskId].data[2]);
Debug_ReShowMainMenu();
}
}