diff --git a/stepmania/src/DifficultyMeter.cpp b/stepmania/src/DifficultyMeter.cpp index 03afacd0c1..01f24cfe95 100644 --- a/stepmania/src/DifficultyMeter.cpp +++ b/stepmania/src/DifficultyMeter.cpp @@ -97,8 +97,8 @@ void DifficultyMeter::LoadFromNode( const XNode* pNode ) ActorFrame::LoadFromNode( pNode ); RString s; - pNode->GetAttrValue( "Class", s ); - ASSERT( s.size() ); + if( !pNode->GetAttrValue("Type", s) ) + RageException::Throw( "%s: DifficultyMeter: missing the \"Type\" attribute", ActorUtil::GetWhere(pNode).c_str() ); Load( s ); }