diff --git a/code/controllers/subsystem/ambience.dm b/code/controllers/subsystem/ambience.dm index 7baf0c8d69d..6067dc87638 100644 --- a/code/controllers/subsystem/ambience.dm +++ b/code/controllers/subsystem/ambience.dm @@ -50,16 +50,9 @@ SUBSYSTEM_DEF(ambience) ///Attempts to play an ambient sound to a mob, returning the cooldown in deciseconds /area/proc/play_ambience(mob/M, sound/override_sound, volume = 27) - var/turf/T = get_turf(M) var/sound/new_sound = override_sound || pick(ambientsounds) - new_sound = sound(new_sound, channel = CHANNEL_AMBIENCE) - M.playsound_local( - T, - new_sound, - volume, - FALSE, - channel = CHANNEL_AMBIENCE - ) + new_sound = sound(new_sound, repeat = 0, wait = 0, volume = volume, channel = CHANNEL_AMBIENCE) + SEND_SOUND(M, new_sound) return rand(min_ambience_cooldown, max_ambience_cooldown)