Merge pull request #4535 from Citadel-Station-13/upstream-merge-33821

[MIRROR] Fixes deleting handcuffs
This commit is contained in:
LetterJay
2017-12-27 03:05:33 -06:00
committed by GitHub
4 changed files with 15 additions and 15 deletions
+2 -9
View File
@@ -365,16 +365,9 @@
to_chat(src, "<span class='notice'>You successfully [cuff_break ? "break" : "remove"] [I].</span>")
if(cuff_break)
. = !((I == handcuffed) || (I == legcuffed))
qdel(I)
if(I == handcuffed)
handcuffed = null
update_handcuffed()
return
else if(I == legcuffed)
legcuffed = null
update_inv_legcuffed()
return
return TRUE
return
else
if(I == handcuffed)