mirror of
https://github.com/pret/pokeemerald.git
synced 2026-09-13 21:47:54 -05:00
fix debug menu not removing task (#3088)
This commit is contained in:
@@ -750,6 +750,7 @@ static void DebugAction_DestroyExtraWindow(u8 taskId)
|
||||
ClearStdWindowAndFrame(gTasks[taskId].data[2], TRUE);
|
||||
RemoveWindow(gTasks[taskId].data[2]);
|
||||
|
||||
DestroyListMenuTask(gTasks[taskId].data[0], NULL, NULL);
|
||||
DestroyTask(taskId);
|
||||
ScriptContext_Enable();
|
||||
UnfreezeObjectEvents();
|
||||
|
||||
Reference in New Issue
Block a user