diff --git a/stepmania/src/Actor.cpp b/stepmania/src/Actor.cpp index 5f143064b9..105a6980d9 100644 --- a/stepmania/src/Actor.cpp +++ b/stepmania/src/Actor.cpp @@ -1048,8 +1048,8 @@ void Actor::RunCommands( const LuaReference& cmds, Actor *pParent ) this->PushSelf( L ); // 2nd parameter - if( pParent ) - pParent->PushSelf( L ); + if( m_pParent ) + m_pParent->PushSelf( L ); else lua_pushnil( L );