Attempt preventative file not found crashing.

This commit is contained in:
Jason Felds
2014-02-04 21:10:40 -05:00
parent 73cf245d9a
commit c5637444ab
+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 )