It's fine to play tick/metronome for failed players.

This commit is contained in:
teejusb
2024-03-22 15:18:53 -07:00
parent f13abec73d
commit 3138447138
-4
View File
@@ -21,10 +21,6 @@ void GameplayAssist::PlayTicks( const NoteData &nd, const PlayerState *ps )
if( !bClap && !bMetronome )
return;
// don't play sounds for dead players
if( ps->m_HealthState == HealthState_Dead )
return;
/* Sound cards have a latency between when a sample is Play()ed and when the sound
* will start coming out the speaker. Compensate for this by boosting fPositionSeconds
* ahead. This is just to make sure that we request the sound early enough for it to