mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-21 12:17:40 +01:00
subtle sounds only when next to
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user