diff --git a/stepmania/src/ActorFrame.cpp b/stepmania/src/ActorFrame.cpp index 2302667b4f..06e22ba46f 100644 --- a/stepmania/src/ActorFrame.cpp +++ b/stepmania/src/ActorFrame.cpp @@ -100,12 +100,16 @@ void ActorFrame::LoadChildrenFromNode( const XNode* pNode ) // Load children // const XNode* pChildren = pNode->GetChild("children"); + bool bArrayOnly = false; if( pChildren == NULL ) + { + bArrayOnly = true; pChildren = pNode; + } FOREACH_CONST_Child( pChildren, pChild ) { - if( !IsAnInt(pChild->GetName()) ) + if( bArrayOnly && !IsAnInt(pChild->GetName()) ) continue; Actor* pChildActor = ActorUtil::LoadFromNode( pChild, this );