mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2025-10-30 08:01:01 +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) {
|
void djui_panel_back(void) {
|
||||||
|
if (sPanelRemoving != NULL) { return; }
|
||||||
if (sPanelList == NULL) { return; }
|
if (sPanelList == NULL) { return; }
|
||||||
if (sPanelList->parent == NULL) {
|
if (sPanelList->parent == NULL) {
|
||||||
if (gDjuiPanelPauseCreated) { djui_panel_shutdown(); }
|
if (gDjuiPanelPauseCreated) { djui_panel_shutdown(); }
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue