From a384da6345ec99a706aa413dec166da916b3da13 Mon Sep 17 00:00:00 2001 From: AnturK Date: Wed, 13 Jun 2018 11:24:42 +0200 Subject: [PATCH] Fixes clothes getting damaged twice in explosions. (#38435) --- code/datums/explosion.dm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/code/datums/explosion.dm b/code/datums/explosion.dm index 78314d4fd32..119363dfa3d 100644 --- a/code/datums/explosion.dm +++ b/code/datums/explosion.dm @@ -201,7 +201,8 @@ GLOBAL_LIST_EMPTY(explosions) items += A.GetAllContents() for(var/O in items) var/atom/A = O - A.ex_act(dist) + if(!QDELETED(A)) + A.ex_act(dist) if(flame_dist && prob(40) && !isspaceturf(T) && !T.density) new /obj/effect/hotspot(T) //Mostly for ambience!