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

This commit is contained in:
AnturK
2018-06-13 11:24:42 +02:00
committed by ShizCalev
parent ee8bcfc726
commit a384da6345
+2 -1
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!