fix sample music occasionally not starting

This commit is contained in:
Glenn Maynard
2002-12-19 03:57:33 +00:00
parent 8826f57b39
commit ea528c863c
+1 -1
View File
@@ -383,7 +383,7 @@ void ScreenSelectMusic::Update( float fDeltaTime )
if( m_fPlaySampleCountdown > 0 )
{
m_fPlaySampleCountdown -= fDeltaTime;
if( m_fPlaySampleCountdown < 0 )
if( m_fPlaySampleCountdown <= 0 )
this->PlayMusicSample();
}