Init dynos packs after djui is created
This commit is contained in:
parent
c2d218a6ab
commit
d2734cf390
|
@ -621,7 +621,6 @@ static void DynOS_Opt_CreateModelPacksSubMenu() {
|
|||
void DynOS_Opt_Init() {
|
||||
|
||||
#ifdef COOP
|
||||
DynOS_Gfx_Init();
|
||||
#else
|
||||
// Convert options menu
|
||||
DynOS_Opt_InitVanilla(sOptionsMenu);
|
||||
|
|
|
@ -176,6 +176,7 @@ void djui_base_compute(struct DjuiBase* base) {
|
|||
}
|
||||
|
||||
void djui_base_compute_tree(struct DjuiBase* base) {
|
||||
if (!base) { return; }
|
||||
if (base->parent != NULL) {
|
||||
djui_base_compute_tree(base->parent);
|
||||
}
|
||||
|
|
|
@ -65,6 +65,7 @@ static bool djui_console_on_key_down(UNUSED struct DjuiBase* base, int scancode)
|
|||
}
|
||||
|
||||
void djui_console_message_create(char* message) {
|
||||
if (!gDjuiConsole) { return; }
|
||||
djui_base_compute_tree(&gDjuiConsole->base);
|
||||
struct DjuiBase* cfBase = &gDjuiConsole->flow->base;
|
||||
|
||||
|
|
|
@ -291,6 +291,7 @@ void main_func(void) {
|
|||
sync_objects_init_system();
|
||||
djui_unicode_init();
|
||||
djui_init();
|
||||
dynos_packs_init();
|
||||
mods_init();
|
||||
|
||||
// load config
|
||||
|
|
Loading…
Reference in New Issue