mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-23 21:18:37 +01:00
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:
@@ -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