[MIRROR] Stops restraint removal progress bar spam (#2899)

* Stops restraint removal progress bar spam

* Stops restraint removal progress bar spam
This commit is contained in:
CitadelStationBot
2017-09-22 22:36:16 -05:00
committed by Poojawa
parent f434049c37
commit e9e80e3ce6
2 changed files with 6 additions and 0 deletions
+5
View File
@@ -297,6 +297,10 @@
/mob/living/carbon/proc/cuff_resist(obj/item/I, breakouttime = 600, cuff_break = 0)
if(I.being_removed)
to_chat(src, "<span class='warning'>You're already attempting to remove [I]!</span>")
return
I.being_removed = TRUE
breakouttime = I.breakouttime
var/displaytime = breakouttime / 600
if(!cuff_break)
@@ -318,6 +322,7 @@
else if(cuff_break == INSTANT_CUFFBREAK)
clear_cuffs(I, cuff_break)
I.being_removed = FALSE
/mob/living/carbon/proc/uncuff()
if (handcuffed)