From 09b3f8d917db2fc719b38c582cd592951551b780 Mon Sep 17 00:00:00 2001 From: Steve Date: Mon, 2 May 2016 12:54:54 +0100 Subject: [PATCH] Load save data before mission. --- src/main.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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();