Fixes foam darts on cardboard cutouts and shooting range targets (#31579)
This commit is contained in:
committed by
CitadelStationBot
parent
06061f0870
commit
12ef284e68
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user