Fixed crash in djui_panel_join_lobbies_create()

This commit is contained in:
MysterD 2023-11-08 13:51:12 -08:00
parent 728b373dbe
commit 421b07fbd0
1 changed files with 1 additions and 0 deletions

View File

@ -171,6 +171,7 @@ void djui_panel_join_lobbies_create(struct DjuiBase* caller, const char* passwor
}
struct DjuiPanel* p = djui_panel_add(caller, panel, defaultBase);
if (!p) { return; }
p->on_panel_destroy = djui_panel_join_lobbies_on_destroy;
}