mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 18:53:06 +00:00
Merge pull request #3279 from Anewbe/borg_cuffs
Should fix borg handcuffs
This commit is contained in:
@@ -42,7 +42,8 @@
|
|||||||
|
|
||||||
/obj/item/weapon/handcuffs/proc/can_place(var/mob/target, var/mob/user)
|
/obj/item/weapon/handcuffs/proc/can_place(var/mob/target, var/mob/user)
|
||||||
if(istype(user, /mob/living/silicon/robot))
|
if(istype(user, /mob/living/silicon/robot))
|
||||||
return 1
|
if(user.Adjacent(target))
|
||||||
|
return 1
|
||||||
else
|
else
|
||||||
for(var/obj/item/weapon/grab/G in target.grabbed_by)
|
for(var/obj/item/weapon/grab/G in target.grabbed_by)
|
||||||
if(G.loc == user && G.state >= GRAB_AGGRESSIVE)
|
if(G.loc == user && G.state >= GRAB_AGGRESSIVE)
|
||||||
|
|||||||
Reference in New Issue
Block a user