mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2024-12-22 16:30:23 +00:00
Prevent DJUI from creating and removing a panel at the same time
This commit is contained in:
parent
4a3b39061f
commit
3ba77087e9
1 changed files with 1 additions and 0 deletions
|
@ -19,6 +19,7 @@ bool djui_panel_is_active(void) {
|
|||
}
|
||||
|
||||
void djui_panel_add(struct DjuiBase* caller, struct DjuiBase* panelBase, struct DjuiBase* defaultElementBase) {
|
||||
if (sPanelRemoving != NULL) { return; }
|
||||
bool firstPanel = (sPanelList == NULL);
|
||||
gDjuiPanelJoinMessageVisible = false;
|
||||
|
||||
|
|
Loading…
Reference in a new issue