Fix double error dialog if data.zip is missing

A minor gripe, but one thing I didn't notice with commit
b4579d88d3 is that it now results in two
dialogs if data.zip is missing: The first being the "data.zip is
missing" dialog, and the second is the generic "Unable to initialize
filesystem" dialog.

So just bail early if data.zip can't be found, it's going to take the
error path in main() and also bail regardless.
This commit is contained in:
Misa authored and Misa Elizabeth Kai committed 2024-07-11 11:47:59 -07:00
1 parent a990f8d87d
commit 7d01c6bdb0
1 file changed
+1
+1
View File
@@ -342,6 +342,7 @@ int FILESYSTEM_init(char *argvZero, char* baseDir, char *assetsPath, char* langD
"\nor get it from the free Make and Play Edition.",
NULL
);
VVV_exit(1);
return 0;
}