Files
Bubberstation/code/game/objects/structures
SkyratBot b9c1cda706 [MIRROR] Fix incorrect return for closet attack_hand_secondary causing lockers to have their locks toggled twice. (#6536)
* Fix incorrect return for closet attack_hand_secondary causing lockers to have their locks toggled twice. (#59814)

/obj/structure/closet/attack_hand_secondary(mob/user, modifiers) doesn't return one of the expected attack chain cancelling/continuing defines and instead returns TRUE.

This means that right clicking them acts as a secondary attack followed by a primary attack.

When the secondary attack against a secure closet actually attempts to toggle the lock, it now cancels the entire attack chain.

* Fix incorrect return for closet attack_hand_secondary causing lockers to have their locks toggled twice.

Co-authored-by: Timberpoes <silent_insomnia_pp@hotmail.co.uk>
2021-06-26 16:11:45 +01:00
..
2021-06-23 22:35:37 +01:00
2021-06-25 22:33:51 +01:00
2021-06-25 22:33:51 +01:00
2021-06-25 22:33:51 +01:00
2021-06-25 22:33:51 +01:00