Fixes foam darts on cardboard cutouts and shooting range targets (#31579)

This commit is contained in:
vuonojenmustaturska
2017-10-12 15:46:05 -05:00
committed by CitadelStationBot
parent 06061f0870
commit 12ef284e68
2 changed files with 6 additions and 2 deletions
@@ -67,6 +67,8 @@
push_over()
/obj/item/cardboard_cutout/bullet_act(obj/item/projectile/P)
if(istype(P, /obj/item/projectile/bullet/reusable))
P.on_hit(src, 0)
visible_message("<span class='danger'>[src] has been hit by [P]!</span>")
playsound(src, 'sound/weapons/slice.ogg', 50, 1)
if(prob(P.damage))