diff --git a/stepmania/src/CourseUtil.cpp b/stepmania/src/CourseUtil.cpp index 404ba5caa0..66a77c223e 100644 --- a/stepmania/src/CourseUtil.cpp +++ b/stepmania/src/CourseUtil.cpp @@ -389,8 +389,10 @@ XNode* CourseID::CreateNode() const void CourseID::LoadFromNode( const XNode* pNode ) { ASSERT( pNode->GetName() == "Course" ); - pNode->GetAttrValue("Path", sPath); - pNode->GetAttrValue("FullTitle", sFullTitle); + sFullTitle = RString(); + sPath = RString(); + if( !pNode->GetAttrValue("Path", sPath) ) + pNode->GetAttrValue( "FullTitle", sFullTitle ); } RString CourseID::ToString() const