From cc7dfa2995da3403d9eccc2f46c1d5d38266d346 Mon Sep 17 00:00:00 2001 From: Verkister Date: Mon, 12 Dec 2022 21:53:37 +0200 Subject: [PATCH] Fixes a funky sound bug revealed by emote PR Apparently the sound system was straight up not even applying provided frequency if a sound proc didn't come with random pitch enabled. --- code/game/sound.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/game/sound.dm b/code/game/sound.dm index 29e985a305..18b969a2ac 100644 --- a/code/game/sound.dm +++ b/code/game/sound.dm @@ -51,7 +51,7 @@ vol *= client.get_preference_volume_channel(VOLUME_CHANNEL_MASTER) S.volume = vol - if(vary) + if(vary || frequency) //CHOMPEdit if(frequency) S.frequency = frequency else