mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2024-11-22 03:55:11 +00:00
Prevent DJUI menu from getting stuck when pressing B and start
This commit is contained in:
parent
db655c6746
commit
804bee1ff7
1 changed files with 5 additions and 0 deletions
|
@ -151,6 +151,11 @@ void djui_panel_shutdown(void) {
|
|||
panel = next;
|
||||
}
|
||||
|
||||
if (sPanelRemoving != NULL) {
|
||||
djui_base_destroy(sPanelRemoving->base);
|
||||
free(sPanelRemoving);
|
||||
}
|
||||
|
||||
sPanelList = NULL;
|
||||
sPanelRemoving = NULL;
|
||||
sMoveAmount = 0;
|
||||
|
|
Loading…
Reference in a new issue