Merge pull request #31233 from kevinz000/patch-306

Fixes floating bullet holes
This commit is contained in:
Leo
2017-10-03 08:18:02 -03:00
committed by CitadelStationBot
parent 22b6f538d6
commit a64e2fd25e
+1 -1
View File
@@ -156,7 +156,7 @@
/turf/closed/bullet_act(obj/item/projectile/Proj)
. = ..()
if(!Proj.nodamage && (Proj.damage_type == BRUTE || Proj.damage_type == BURN))
if((. != -1) && !Proj.nodamage && (Proj.damage_type == BRUTE || Proj.damage_type == BURN))
var/mutable_appearance/bullet_hole = mutable_appearance('icons/effects/effects.dmi', "bullet_hole", BULLET_HOLE_LAYER)
var/random_x = rand(-13, 13)