mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-30 09:54:10 +03:00
Fix loading levels that are... uh, just levels.
This commit is contained in:
@@ -1770,7 +1770,11 @@ bool editorclass::load(std::string& _path)
|
||||
}
|
||||
else
|
||||
{
|
||||
MAYBE_FAIL(FILESYSTEM_mountAssets(_path.c_str()));
|
||||
/* "Sometimes a level is just a level." */
|
||||
if (!FILESYSTEM_exists(_path.c_str()))
|
||||
{
|
||||
MAYBE_FAIL(FILESYSTEM_mountAssets(_path.c_str()));
|
||||
}
|
||||
}
|
||||
|
||||
if (!FILESYSTEM_loadTiXml2Document(_path.c_str(), doc))
|
||||
|
||||
Reference in New Issue
Block a user