From f6d1d7265bcfeda6d7ecc0f28afb6dc20e71d8a6 Mon Sep 17 00:00:00 2001 From: Seris02 Date: Sun, 26 Mar 2023 11:39:42 +0800 Subject: [PATCH] subtle sounds only when next to --- code/modules/mob/say_vr.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/mob/say_vr.dm b/code/modules/mob/say_vr.dm index 4802017e48..8d5d8012a2 100644 --- a/code/modules/mob/say_vr.dm +++ b/code/modules/mob/say_vr.dm @@ -179,7 +179,7 @@ else spawn(0) M.show_message(message, 2) - if(M.is_preference_enabled(/datum/client_preference/say_sounds)) + if(M.Adjacent(src) && M.is_preference_enabled(/datum/client_preference/say_sounds)) //CHOMPEdit - makes it so the sounds only play for ghosts when adjacent to the person making them if(voice_sounds_list) //CHOMPEdit, changes to subtle emotes to use mob voice instead M << sound(pick(voice_sounds_list), volume = 25)