From 7672a71aaa10e92f76df63c9e6054b3b92d78bd4 Mon Sep 17 00:00:00 2001 From: SkyratBot <59378654+SkyratBot@users.noreply.github.com> Date: Sat, 15 Jun 2024 19:49:07 +0200 Subject: [PATCH] [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> --- code/modules/projectiles/projectile/bullets/rifle.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/projectiles/projectile/bullets/rifle.dm b/code/modules/projectiles/projectile/bullets/rifle.dm index e38d7f67496..3cbb894b8fb 100644 --- a/code/modules/projectiles/projectile/bullets/rifle.dm +++ b/code/modules/projectiles/projectile/bullets/rifle.dm @@ -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)