From b305759212905c542ab47845fbd5a430a84141dc Mon Sep 17 00:00:00 2001 From: Indev Date: Mon, 22 Jan 2024 23:24:19 +0300 Subject: [PATCH] Move autoloading to run after everything else is initialized --- src/d_main.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/d_main.c b/src/d_main.c index 0f8d7b1df..1afca6e54 100644 --- a/src/d_main.c +++ b/src/d_main.c @@ -1474,11 +1474,6 @@ void D_SRB2Main(void) statdp = true; } - CONS_Printf("D_AutoloadFile(): Loading autoloaded addons...\n"); - if (W_AddAutoloadedLocalFiles(autoloadwadfiles) == 0) - CONS_Printf("D_AutoloadFile(): Are you sure you put in valid files or what?\n"); - D_CleanFile(autoloadwadfiles); - // // search for maps // @@ -1680,6 +1675,11 @@ void D_SRB2Main(void) CONS_Printf("ST_Init(): Init status bar.\n"); ST_Init(); + CONS_Printf("D_AutoloadFile(): Loading autoloaded addons...\n"); + if (W_AddAutoloadedLocalFiles(autoloadwadfiles) == 0) + CONS_Printf("D_AutoloadFile(): Are you sure you put in valid files or what?\n"); + D_CleanFile(autoloadwadfiles); + // Set up splitscreen players before joining! if (!dedicated && (M_CheckParm("-splitscreen") && M_IsNextParm())) {