1
0
Fork 0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-12-22 01:29:43 +01:00

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 2024-06-26 22:35:34 -07:00 committed by Misa Elizabeth Kai
parent a990f8d87d
commit 7d01c6bdb0

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;
}