mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-29 16:18:01 +01:00
[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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user