From 17455d7db4f88242329a6a2dead4065d919cd1fa Mon Sep 17 00:00:00 2001 From: MrMelbert <51863163+MrMelbert@users.noreply.github.com> Date: Thu, 18 Apr 2024 21:01:14 -0500 Subject: [PATCH] Fix handcuffing (#82760) ## About The Pull Request Changed this to an early return but then didn't invert the condition ## Changelog :cl: Melbert fix: You can handcuff people with 2 arms and you can no longer handcuff people with 0 arms /:cl: --- code/game/objects/items/handcuffs.dm | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/code/game/objects/items/handcuffs.dm b/code/game/objects/items/handcuffs.dm index 259d38119ac..1d8adbbb278 100644 --- a/code/game/objects/items/handcuffs.dm +++ b/code/game/objects/items/handcuffs.dm @@ -76,7 +76,7 @@ if(!iscarbon(target_mob)) return - attempt_to_cuff(target_mob, user) // avoid locking up the attack chain with sleeps + attempt_to_cuff(target_mob, user) /// Handles all of the checks and application in a typical situation where someone attacks a carbon victim with the handcuff item. /obj/item/restraints/handcuffs/proc/attempt_to_cuff(mob/living/carbon/victim, mob/living/user) @@ -93,9 +93,8 @@ victim.balloon_alert(user, "already handcuffed!") return - if(victim.canBeHandcuffed()) + if(!victim.canBeHandcuffed()) victim.balloon_alert(user, "can't be handcuffed!") - to_chat(user, span_warning("[victim] doesn't have two hands...")) return victim.visible_message(