mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2025-10-30 08:01:01 +00:00
Small crash fix
This commit is contained in:
parent
b487527339
commit
95738ccfd1
1 changed files with 3 additions and 1 deletions
|
|
@ -458,5 +458,7 @@ void djui_panel_player_create(struct DjuiBase* caller) {
|
|||
}
|
||||
|
||||
struct DjuiPanel* p = djui_panel_add(caller, panel, NULL);
|
||||
p->on_panel_destroy = djui_panel_player_destroy;
|
||||
if (p != NULL) {
|
||||
p->on_panel_destroy = djui_panel_player_destroy;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue