Load save data before mission.

This commit is contained in:
Steve 2016-05-02 12:54:54 +01:00
parent f750c10c6f
commit 09b3f8d917
1 changed files with 5 additions and 5 deletions

View File

@ -48,6 +48,11 @@ int main(int argc, char *argv[])
createScreenshotFolder(); createScreenshotFolder();
if (fileExists(getSaveFilePath(SAVE_FILENAME)))
{
loadGame();
}
handleArguments(argc, argv); handleArguments(argc, argv);
dev.fps = frames = td = 0; dev.fps = frames = td = 0;
@ -196,11 +201,6 @@ static void handleArguments(int argc, char *argv[])
} }
} }
if (fileExists(getSaveFilePath(SAVE_FILENAME)))
{
loadGame();
}
if (!testingMission) if (!testingMission)
{ {
initTitle(); initTitle();