Fixes some handcuff oversights

You now don't need to be grabbing to put handcuffs on yourself, and you
can now put hancuffs on if your grab state is higher than aggressive.
This commit is contained in:
mwerezak
2014-08-03 11:49:37 -04:00
committed by ZomgPonies
parent 90e0da92cc
commit c22ea7a5c0
2 changed files with 7 additions and 3 deletions
+5 -1
View File
@@ -26,9 +26,13 @@
place_handcuffs(user, user)
return
if(!C.handcuffed)
if (C == user)
place_handcuffs(user, user)
return
//check for an aggressive grab
for (var/obj/item/weapon/grab/G in C.grabbed_by)
if (G.loc == user && G.state == GRAB_AGGRESSIVE)
if (G.loc == user && G.state >= GRAB_AGGRESSIVE)
place_handcuffs(C, user)
return
user << "\red You need to have a firm grip on [C] before you can put \the [src] on!"