mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2024-11-25 21:45:12 +00:00
Fixed DJUI panels getting stuck when spamming B button
This commit is contained in:
parent
a2bb578dbf
commit
7a61c61051
1 changed files with 1 additions and 0 deletions
|
@ -63,6 +63,7 @@ void djui_panel_add(struct DjuiBase* caller, struct DjuiBase* panelBase, struct
|
|||
}
|
||||
|
||||
void djui_panel_back(void) {
|
||||
if (sPanelRemoving != NULL) { return; }
|
||||
if (sPanelList == NULL) { return; }
|
||||
if (sPanelList->parent == NULL) {
|
||||
if (gDjuiPanelPauseCreated) { djui_panel_shutdown(); }
|
||||
|
|
Loading…
Reference in a new issue