Rebind alt-right-click to right-click for circuit controllers (#59337)

Easier key combination.
This commit is contained in:
Mothblocks
2021-06-02 18:37:52 -07:00
committed by GitHub
parent 1a06b8f73c
commit 6a9b030b57
+2 -2
View File
@@ -44,12 +44,12 @@
/obj/item/circuit_component/controller/register_shell(atom/movable/shell)
RegisterSignal(shell, COMSIG_ITEM_ATTACK_SELF, .proc/send_trigger)
RegisterSignal(shell, COMSIG_CLICK_ALT, .proc/send_alternate_signal)
RegisterSignal(shell, COMSIG_CLICK_ALT_SECONDARY, .proc/send_right_signal)
RegisterSignal(shell, COMSIG_CLICK_RIGHT, .proc/send_right_signal)
/obj/item/circuit_component/controller/unregister_shell(atom/movable/shell)
UnregisterSignal(shell, list(
COMSIG_ITEM_ATTACK_SELF,
COMSIG_CLICK_ALT_SECONDARY,
COMSIG_CLICK_RIGHT,
COMSIG_CLICK_ALT,
))