[MIRROR] Fixes crossbow healium bolt sleeping silicons! Oops! (#28200)

* Fixes crossbow healium bolt sleeping silicons! Oops! (#83966)

## Why It's Good For The Game

I thought I had this in the pr itself, with the check_bodytype code in
the healium bolt, but I was wrong.
Turns out the check statement only effected the healing but the sleep
portion was left out of it by mistake. During testing I never thought to
spawn in a borg.

* Fixes crossbow healium bolt sleeping silicons! Oops!

---------

Co-authored-by: KingkumaArt <69398298+KingkumaArt@users.noreply.github.com>
This commit is contained in:
SkyratBot
2024-06-15 18:49:07 +01:00
committed by GitHub
co-authored by KingkumaArt
parent 749ef43840
commit 7672a71aaa
@@ -124,7 +124,7 @@
/obj/projectile/bullet/rebar/healium/on_hit(atom/target, blocked = 0, pierce_hit)
. = ..()
if(!isliving(target))
if(!iscarbon(target))
return BULLET_ACT_HIT
var/mob/living/breather = target
breather.SetSleeping(3 SECONDS)