[MIRROR] Fix cyborg locker right click (#6609)

* 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.

* Fix cyborg locker right click

Co-authored-by: Wayland-Smithy <64715958+Wayland-Smithy@users.noreply.github.com>
This commit is contained in:
SkyratBot
2021-06-30 21:00:22 +02:00
committed by GitHub
parent d8ad47c6be
commit f7ff01b3a1
@@ -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))