Do not close game if custom level has assets issues

It's quite rude to close the game entirely if there is trouble with
assets. Instead, just unload the assets and gracefully return to the
title screen.
This commit is contained in:
Misa authored and Ethan Lee committed 2021-08-10 16:33:52 -04:00
1 parent ed9cb4ca6d
commit 8dc5d69ef3
12 files changed
+118 -46

No files matched your search

+1 -1
View File
@@ -19,7 +19,7 @@ bool FILESYSTEM_isFile(const char* filename);
bool FILESYSTEM_isMounted(const char* filename);
void FILESYSTEM_loadZip(const char* filename);
void FILESYSTEM_mountAssets(const char *path);
bool FILESYSTEM_mountAssets(const char *path);
void FILESYSTEM_unmountAssets(void);
bool FILESYSTEM_isAssetMounted(const char* filename);