Fixed crash in djui_panel_join_lobbies_create()
This commit is contained in:
parent
7e7f6067a9
commit
c6be02e042
|
@ -176,6 +176,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