diff --git a/src/main.c b/src/main.c index 6ff3bf7..84f0ba6 100644 --- a/src/main.c +++ b/src/main.c @@ -48,6 +48,11 @@ int main(int argc, char *argv[]) createScreenshotFolder(); + if (fileExists(getSaveFilePath(SAVE_FILENAME))) + { + loadGame(); + } + handleArguments(argc, argv); dev.fps = frames = td = 0; @@ -196,11 +201,6 @@ static void handleArguments(int argc, char *argv[]) } } - if (fileExists(getSaveFilePath(SAVE_FILENAME))) - { - loadGame(); - } - if (!testingMission) { initTitle();