Like the thing I did but the opposite

This commit is contained in:
Ethan Lee
2020-06-12 16:21:45 -04:00
parent f815b1ee62
commit 8d652dc256

View File

@@ -89,7 +89,7 @@ int FILESYSTEM_init(char *argvZero, char* baseDir, char *assetsPath)
printf("Level directory: %s\n", levelDir);
/* We didn't exist until now, migrate files! */
if (mkdirResult != 0)
if (mkdirResult == 0)
{
PLATFORM_migrateSaveData(output);
}