mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-20 04:26:03 +01:00
[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:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user