Skip to content

[TF2] Remove stun noise if TF_STUN_NO_EFFECTS flag is used. - #2067

Open
num-get wants to merge 1 commit into
ValveSoftware:masterfrom
num-get:remove_stun_noise
Open

num-get wants to merge 1 commit into
ValveSoftware:masterfrom
num-get:remove_stun_noise

Conversation

@num-get

@num-get num-get commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

Description

Before the Jungle Inferno update, the stun noise used to be hardcoded to only be played if the stun type is either TF_STUN_LOSER_STATE (scared by a ghost) or TF_STUN_CONTROLS (Übersaw taunt stun). After the Jungle Inferno update, to force Sandman and Bonk to play stun sound without being the aforementioned stun types, Valve added a new TF_STUN_SOUND flag that forces the stun sound to be played.
However, due to an oversight, the TF_STUN_NO_EFFECTS flag that is meant to prevent stun noise from being played now does nothing. I restore its intended functionality.

@num-get num-get changed the title Remove stun noise if TF_STUN_NO_EFFECTS flag is used. [TF2] Remove stun noise if TF_STUN_NO_EFFECTS flag is used. Sep 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant