Changed many parts of GameCommand to improve error reporting. Fixed GameCommand setpref to not set when loading the command. Minor fix to ScreenOptionsExample.ini to explain that SongInCurrentSongGroup is unusable. CommonMetrics, CourseContentsList, HoldJudgent, OptionRowHandler all have minor changes to fix crashes on malformed theme data.
This commit is contained in:
@@ -28,6 +28,7 @@ void CourseContentsList::LoadFromNode( const XNode* pNode )
|
||||
if( pDisplayNode == NULL )
|
||||
{
|
||||
LuaHelpers::ReportScriptErrorFmt("%s: CourseContentsList: missing the Display child", ActorUtil::GetWhere(pNode).c_str());
|
||||
return;
|
||||
}
|
||||
|
||||
for( int i=0; i<iMaxSongs; i++ )
|
||||
|
||||
Reference in New Issue
Block a user