Fix: Updated preferred information based on song selected.

This commit is contained in:
Charles Lohr
2005-03-12 07:37:39 +00:00
parent 69bbcb071b
commit 10027b1291
+4 -1
View File
@@ -76,7 +76,7 @@ void ScreenNetSelectMusic::Init()
this->AddChild( &m_MusicWheel );
this->MoveToHead( &m_MusicWheel );
ON_COMMAND( m_MusicWheel );
m_BPMDisplay.SetName( "BPMDisplay" );
m_BPMDisplay.Load();
SET_XY_AND_ON_COMMAND( m_BPMDisplay );
@@ -447,6 +447,9 @@ void ScreenNetSelectMusic::StartSelectedSong()
Steps * pSteps = pSong->GetStepsByDifficulty(st,m_DC[pn]);
GAMESTATE->m_pCurSteps[pn].Set( pSteps );
}
GAMESTATE->m_PreferredSortOrder = m_MusicWheel.GetSortOrder();
GAMESTATE->m_pPreferredSong = pSong;
TweenOffScreen();
StartTransitioning( SM_GoToNextScreen );