Fix crash on join when SSM is preloaded but doesn't have focus.

This commit is contained in:
Glenn Maynard
2008-05-28 01:21:52 +00:00
parent 29936c8a2d
commit 43daaf5a1f
3 changed files with 7 additions and 1 deletions
+1 -1
View File
@@ -675,7 +675,7 @@ void ScreenSelectMusic::ChangeDifficulty( PlayerNumber pn, int dir )
void ScreenSelectMusic::HandleMessage( const Message &msg )
{
if( msg == Message_PlayerJoined )
if( m_bRunning && msg == Message_PlayerJoined )
{
// The current steps may no longer be playable. If one player has double steps
// selected, they are no longer playable now that P2 has joined.