From 97bdcca0331cc25c22d09dfa96d5cead663a3a9a Mon Sep 17 00:00:00 2001 From: mwerezak Date: Sat, 1 Nov 2014 17:02:54 -0400 Subject: [PATCH] Fixes bad handcuff check --- code/game/objects/items/weapons/handcuffs.dm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/code/game/objects/items/weapons/handcuffs.dm b/code/game/objects/items/weapons/handcuffs.dm index f7d9edf8a3..531c8fa7ee 100644 --- a/code/game/objects/items/weapons/handcuffs.dm +++ b/code/game/objects/items/weapons/handcuffs.dm @@ -42,8 +42,8 @@ if (ishuman(target)) var/mob/living/carbon/human/H = target - if (!H.has_organ_for_slot("handcuff")) - user << "\red [H] needs at least two wrists before you can cuff them together!" + if (!H.has_organ_for_slot(slot_handcuffed)) + user << "\red \The [H] needs at least two wrists before you can cuff them together!" return H.attack_log += text("\[[time_stamp()]\] Has been handcuffed (attempt) by [user.name] ([user.ckey])") @@ -158,8 +158,8 @@ var/last_chew = 0 if (ishuman(C)) var/mob/living/carbon/human/H = C - if (!H.has_organ_for_slot("handcuff")) - user << "\red [H] needs at least two wrists before you can cuff them together!" + if (!H.has_organ_for_slot(slot_handcuffed)) + user << "\red \The [H] needs at least two wrists before you can cuff them together!" return spawn(30)