[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:
committed by
Poojawa
parent
f434049c37
commit
e9e80e3ce6
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user