mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-31 09:08:30 +01:00
[MIRROR] Rebind alt-right-click to right-click for circuit controllers (#6099)
* Rebind alt-right-click to right-click for circuit controllers (#59337) Easier key combination. * Rebind alt-right-click to right-click for circuit controllers Co-authored-by: Mothblocks <35135081+Mothblocks@users.noreply.github.com>
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