From 6268e2f143a4bd03dff15481ecf253ee977024cd Mon Sep 17 00:00:00 2001 From: Poojawa Date: Sat, 13 Oct 2018 04:45:48 -0500 Subject: [PATCH] stops patches from applying magically through suits --- code/modules/reagents/reagent_containers/patch.dm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/modules/reagents/reagent_containers/patch.dm b/code/modules/reagents/reagent_containers/patch.dm index b11ef878b6..7de12e38b6 100644 --- a/code/modules/reagents/reagent_containers/patch.dm +++ b/code/modules/reagents/reagent_containers/patch.dm @@ -14,6 +14,8 @@ /obj/item/reagent_containers/pill/patch/attack(mob/living/L, mob/user) if(ishuman(L)) var/obj/item/bodypart/affecting = L.get_bodypart(check_zone(user.zone_selected)) + if(!L.can_inject(user, 1)) + return if(!affecting) to_chat(user, "The limb is missing!") return