Fix cyborg locker right click (#59885)

I guess silicon shared the old AltClick proc with other living, but that is not the case for secondary click.
This commit is contained in:
Wayland-Smithy
2021-06-30 13:47:41 -03:00
committed by GitHub
parent a2a40e2b08
commit fcf6bbd9ec
@@ -402,6 +402,12 @@
if(user.Adjacent(src))
return attack_hand(user)
/obj/structure/closet/attack_robot_secondary(mob/user, list/modifiers)
if(!user.Adjacent(src))
return SECONDARY_ATTACK_CONTINUE_CHAIN
togglelock(user)
return SECONDARY_ATTACK_CANCEL_ATTACK_CHAIN
// tk grab then use on self
/obj/structure/closet/attack_self_tk(mob/user)
if(attack_hand(user))