source-sdk-2013
source-sdk-2013 copied to clipboard
[TF2] Ready-up broadcast sound spam reduction
Description
Intended to close https://github.com/ValveSoftware/Source-1-Games/issues/7293.
- Do not attempt to play ready sound if the ready state has not changed.
- Apply a longer ready sound cooldown if a cooldown was already applied recently.
- Apply sound cooldown whenever
CTFPlayer::PlayReadySound()is called regardless of if it actually played a sound.