From 736c0edf7dfcc9e985ffa6ecb89d9235988ae0e5 Mon Sep 17 00:00:00 2001 From: ivanmixo Date: Wed, 20 Sep 2023 23:18:20 +0200 Subject: [PATCH] Gau hits twice again (#13968) * Gau hits twice again * Update code/game/objects/structures/dropship_ammo.dm --- code/game/objects/structures/dropship_ammo.dm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/code/game/objects/structures/dropship_ammo.dm b/code/game/objects/structures/dropship_ammo.dm index 55b1ade015916..dfa518dd24a1b 100644 --- a/code/game/objects/structures/dropship_ammo.dm +++ b/code/game/objects/structures/dropship_ammo.dm @@ -254,6 +254,11 @@ strafelist -= strafed strafed.ex_act(EXPLODE_LIGHT) new /obj/effect/temp_visual/heavyimpact(strafed) + for(var/atom/movable/AM AS in strafed) + if(QDELETED(AM)) + continue + //This may seem a bit wacky as we're exploding the turf's content twice, but doing it another way would be even more wacky because of how hard it is to modify explosion damage without adding a whole other explosion type + AM.ex_act(EXPLODE_LIGHT) if(length(strafelist)) addtimer(CALLBACK(src, PROC_REF(strafe_turfs), strafelist), 2)