mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-31 07:58:22 +01:00
TG Signal Port (#18741)
* click code start * snake_span * Update click.dm * Update click.dm * Update click.dm * WIP signal organization * Moooore signals * cuffs * decon * whoops * revert this * Proper name * movable moved * These * Theeese * Sort these * Update cyborg.dm
This commit is contained in:
@@ -77,7 +77,7 @@
|
||||
/obj/item/shield_projector/rectangle/mecha/Initialize(mapload)
|
||||
. = ..()
|
||||
my_mech = loc
|
||||
RegisterSignal(my_mech, COMSIG_OBSERVER_MOVED, /obj/item/shield_projector/proc/update_shield_positions)
|
||||
RegisterSignal(my_mech, COMSIG_MOVABLE_ATTEMPTED_MOVE, /obj/item/shield_projector/proc/update_shield_positions)
|
||||
my_mech.AddComponent(/datum/component/recursive_move)
|
||||
update_shift(my_mech)
|
||||
|
||||
@@ -89,7 +89,7 @@
|
||||
shift_y = round(y_dif, 1)
|
||||
|
||||
/obj/item/shield_projector/rectangle/mecha/Destroy()
|
||||
UnregisterSignal(my_mech, COMSIG_OBSERVER_MOVED)
|
||||
UnregisterSignal(my_mech, COMSIG_MOVABLE_ATTEMPTED_MOVE)
|
||||
my_mech = null
|
||||
. = ..()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user