From 7a61c61051247b84c07d078762db346f8b83395f Mon Sep 17 00:00:00 2001 From: MysterD Date: Sun, 1 Aug 2021 13:29:21 -0700 Subject: [PATCH] Fixed DJUI panels getting stuck when spamming B button --- src/pc/djui/djui_panel.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pc/djui/djui_panel.c b/src/pc/djui/djui_panel.c index b6ad1d70..108fa4bf 100644 --- a/src/pc/djui/djui_panel.c +++ b/src/pc/djui/djui_panel.c @@ -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(); }