diff --git a/src/d_main.c b/src/d_main.c index fb81a7d39..2e507c87a 100644 --- a/src/d_main.c +++ b/src/d_main.c @@ -1054,7 +1054,10 @@ static void D_FindAddonsToAutoload(void) // If the file is found, run our shit if (!autoloadconfigfile) // nope outta here + { + wasautoloaded = postautoloaded = true; // so D_AddAutoloadFiles can skip everything since nothings there to autoload return; + } while (fgets(wadsToAutoload, sizeof wadsToAutoload, autoloadconfigfile) != NULL) {