Don't allow edits with no valid #NOTES
This commit is contained in:
@@ -1074,8 +1074,8 @@ bool SMLoader::LoadEditFromMsd( const MsdFile &msd, const RString &sEditFilePath
|
||||
}
|
||||
}
|
||||
|
||||
return true;
|
||||
|
||||
// Edit had no valid #NOTES sections
|
||||
return false;
|
||||
}
|
||||
|
||||
void SMLoader::GetApplicableFiles( const RString &sPath, vector<RString> &out )
|
||||
|
||||
@@ -1084,9 +1084,8 @@ bool SSCLoader::LoadEditFromMsd(const MsdFile &msd,
|
||||
}
|
||||
}
|
||||
|
||||
//return true;
|
||||
// only load a SSC edit if it passes the checks. -aj
|
||||
return bSSCFormat;
|
||||
// Edit had no valid #NOTES sections
|
||||
return false;
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user