From 8d652dc256fbace65a6247a0152c699668359720 Mon Sep 17 00:00:00 2001 From: Ethan Lee Date: Fri, 12 Jun 2020 16:21:45 -0400 Subject: [PATCH] Like the thing I did but the opposite --- desktop_version/src/FileSystemUtils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/desktop_version/src/FileSystemUtils.cpp b/desktop_version/src/FileSystemUtils.cpp index 1fb3d769..f38734eb 100644 --- a/desktop_version/src/FileSystemUtils.cpp +++ b/desktop_version/src/FileSystemUtils.cpp @@ -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); }