diff --git a/stepmania/src/ScreenSelectMaster.cpp b/stepmania/src/ScreenSelectMaster.cpp index f60ab8ce3b..a2e0ef401e 100644 --- a/stepmania/src/ScreenSelectMaster.cpp +++ b/stepmania/src/ScreenSelectMaster.cpp @@ -149,11 +149,19 @@ void ScreenSelectMaster::Init() m_sprScroll[c][*p]->SetName( sElement ); m_Scroller[*p].AddChild( m_sprScroll[c][*p] ); } + } LUA->UnsetGlobal( "ThisGameCommand" ); } + // position scroller items so that the items' will start from their resting + // position when they execute their OnCommand. + if( SHOW_SCROLLER ) + { + FOREACH( PlayerNumber, vpns, p ) + m_Scroller[*p].PositionItems(); + } for( int page=0; page