fix assert if no songs loaded
This commit is contained in:
@@ -1494,11 +1494,11 @@ void ScreenGameplay::UpdateSongPosition( float fDeltaTime )
|
||||
|
||||
void ScreenGameplay::BeginScreen()
|
||||
{
|
||||
ScreenWithMenuElements::BeginScreen();
|
||||
|
||||
if( GAMESTATE->m_pCurSong == NULL )
|
||||
return;
|
||||
|
||||
ScreenWithMenuElements::BeginScreen();
|
||||
|
||||
SOUND->PlayOnceFromAnnouncer( "gameplay intro" ); // crowd cheer
|
||||
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user