Fixed crash in djui_panel_join_lobbies_create()
This commit is contained in:
parent
728b373dbe
commit
421b07fbd0
|
@ -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);
|
struct DjuiPanel* p = djui_panel_add(caller, panel, defaultBase);
|
||||||
|
if (!p) { return; }
|
||||||
p->on_panel_destroy = djui_panel_join_lobbies_on_destroy;
|
p->on_panel_destroy = djui_panel_join_lobbies_on_destroy;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue