Merge pull request #31233 from kevinz000/patch-306
Fixes floating bullet holes
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user