Merge pull request #28 from wolfman2000/wolf-bg-files

Attempt preventative file not found crashing.
This commit is contained in:
Colby Klein
2014-02-08 18:55:37 -08:00
+5 -1
View File
@@ -793,7 +793,11 @@ bool SMLoader::LoadFromBGChangesString( BackgroundChange &change, const RString
// fall through
}
return aBGChangeValues.size() >= 2;
if (FILEMAN->DoesFileExist(change.m_def.m_sFile1))
{
return aBGChangeValues.size() >= 2;
}
return false;
}
bool SMLoader::LoadNoteDataFromSimfile( const RString &path, Steps &out )