Handcuff teamwork (#12481)

This commit is contained in:
nerocavalier
2021-09-13 11:31:08 +02:00
committed by GitHub
parent 10bc4f7b42
commit 641e934032
2 changed files with 45 additions and 3 deletions
+3 -3
View File
@@ -41,7 +41,7 @@
can_place = TRUE
else
for (var/obj/item/grab/G in C.grabbed_by)
if (G.loc == user && G.state >= GRAB_AGGRESSIVE)
if (G.state >= GRAB_AGGRESSIVE)
can_place = TRUE
break
@@ -102,7 +102,7 @@
user.drop_from_inventory(cuffs,target)
else
cuffs.forceMove(target)
if(!legcuff)
target.handcuffed = cuffs
target.update_inv_handcuffed()
@@ -250,4 +250,4 @@
icon_state = "legcuff"
legcuff = TRUE
breakouttime = 30 SECONDS
cuff_type = "legcuffs"
cuff_type = "legcuffs"