[MIRROR] Fixes clothes getting damaged twice in explosions. (#7097)

* Fixes clothes getting damaged twice in explosions. (#38435)

* Fixes clothes getting damaged twice in explosions.
This commit is contained in:
CitadelStationBot
2018-06-15 04:44:01 -05:00
committed by kevinz000
parent f7924732c0
commit 727b1a1b14

View File

@@ -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!