mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-13 00:55:20 +01:00
Rebind alt-right-click to right-click for circuit controllers (#59337)
Easier key combination.
This commit is contained in:
@@ -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,
|
||||
))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user