From cd606a968894c095bb262059a380df2b599cd468 Mon Sep 17 00:00:00 2001 From: Anthony Rodriguez Date: Thu, 24 Sep 2020 19:52:20 -0700 Subject: [PATCH] Proper Explosion Triggers --- code/game/objects/explosion.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/game/objects/explosion.dm b/code/game/objects/explosion.dm index 194fbc9a203..510a579a7ce 100644 --- a/code/game/objects/explosion.dm +++ b/code/game/objects/explosion.dm @@ -64,8 +64,8 @@ proc/explosion(turf/epicenter, devastation_range, heavy_impact_range, light_impa else M << 'sound/effects/explosionfar.ogg' - if(creaking_explosion) - addtimer(CALLBACK(M, /mob/proc/playsound_local, epicenter, null, rand(25, 40), 1, frequency, null, null, FALSE, 'sound/effects/creak1.ogg', null, null, null, null, 0), 5 SECONDS) + if(creaking_explosion) + addtimer(CALLBACK(M, /mob/proc/playsound_local, epicenter, null, rand(25, 40), 1, frequency, null, null, FALSE, 'sound/effects/creak1.ogg', null, null, null, null, 0), 5 SECONDS) if(adminlog) message_admins("Explosion with [shaped ? "shaped" : "non-shaped"] size ([devastation_range], [heavy_impact_range], [light_impact_range]) in area [epicenter.loc.name] ([epicenter.x],[epicenter.y],[epicenter.z]) (JMP)") log_game("Explosion with [shaped ? "shaped" : "non-shaped"] size ([devastation_range], [heavy_impact_range], [light_impact_range]) in area [epicenter.loc.name] ")