From 1702765073704c23119a97dccfdd33aae2106ddf Mon Sep 17 00:00:00 2001 From: Zuhayr Date: Tue, 12 Jan 2016 16:27:15 +1030 Subject: [PATCH] Hackfix for impossible-to-remove cuffs. --- code/modules/mob/living/carbon/resist.dm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/code/modules/mob/living/carbon/resist.dm b/code/modules/mob/living/carbon/resist.dm index 8b33f7a5865..8bd8822132f 100644 --- a/code/modules/mob/living/carbon/resist.dm +++ b/code/modules/mob/living/carbon/resist.dm @@ -31,7 +31,7 @@ //This line represent a significant buff to grabs... // We don't have to check the click cooldown because /mob/living/verb/resist() has done it for us, we can simply set the delay - setClickCooldown(100) + setClickCooldown(100) if(can_break_cuffs()) //Don't want to do a lot of logic gating here. break_handcuffs() @@ -58,7 +58,7 @@ ) if(do_after(src, breakouttime)) - if(!handcuffed || buckled) + if(!handcuffed) return visible_message( "\The [src] manages to remove \the [handcuffed]!", @@ -66,11 +66,11 @@ ) drop_from_inventory(handcuffed) -/mob/living/carbon/proc/escape_legcuffs() +/mob/living/carbon/proc/escape_legcuffs() if(!canClick()) return - setClickCooldown(100) + setClickCooldown(100) if(can_break_cuffs()) //Don't want to do a lot of logic gating here. break_legcuffs()