From 8abc0cc0a75cfdcad9c4a399427742526b7f5b36 Mon Sep 17 00:00:00 2001 From: Akrilla Date: Sat, 11 Apr 2020 05:24:24 +0100 Subject: [PATCH] !on --- code/modules/mob/living/simple_animal/bot/secbot.dm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/modules/mob/living/simple_animal/bot/secbot.dm b/code/modules/mob/living/simple_animal/bot/secbot.dm index 4a4602f525..d199bc2ead 100644 --- a/code/modules/mob/living/simple_animal/bot/secbot.dm +++ b/code/modules/mob/living/simple_animal/bot/secbot.dm @@ -239,6 +239,8 @@ Auto Patrol: []"}, attempt_handcuff(C) /mob/living/simple_animal/bot/secbot/proc/attempt_handcuff(mob/living/carbon/C) + if (!on) + return if(!C.handcuffed) C.handcuffed = new /obj/item/restraints/handcuffs/cable/zipties/used(C) C.update_handcuffed()