sure travis

This commit is contained in:
joep van der velden
2020-06-15 09:14:56 +02:00
parent 92d143e4ab
commit c70b5a2f05
+3 -1
View File
@@ -85,7 +85,9 @@
var/decaltype = DECALTYPE_SCORCH
if(istype(P, /obj/item/projectile/bullet))
decaltype = DECALTYPE_BULLET
if(LAZYLEN(overlays) <= 35 && icon(icon, icon_state).GetPixel(p_x, p_y)) // if the located pixel isn't blank (null)
var/icon/C = icon(icon, icon_state)
if(LAZYLEN(overlays) <= 35 && C.GetPixel(p_x, p_y)) // if the located pixel isn't blank (null)
hp -= P.damage
if(hp <= 0)
visible_message("<span class='danger'>[src] breaks into tiny pieces and collapses!</span>")