From acabffb6fc36eb090efbf1d78378dea855a043e2 Mon Sep 17 00:00:00 2001 From: HMBGERDO <61080616+HMBGERDO@users.noreply.github.com> Date: Sat, 10 Jun 2023 06:01:28 +0200 Subject: [PATCH] Fixing infinite fire alarm sounds (#21246) * no more adding twice * better function to do the same --- code/datums/looping_sounds/looping_sound.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/datums/looping_sounds/looping_sound.dm b/code/datums/looping_sounds/looping_sound.dm index f2e178830c9..051ee279b03 100644 --- a/code/datums/looping_sounds/looping_sound.dm +++ b/code/datums/looping_sounds/looping_sound.dm @@ -54,7 +54,7 @@ /datum/looping_sound/proc/start(atom/add_thing) if(add_thing) - LAZYADD(output_atoms, add_thing) + LAZYADDOR(output_atoms, add_thing) if(!muted) return muted = FALSE