Skip to content

Commit

Permalink
bam, fixed signal failure
Browse files Browse the repository at this point in the history
  • Loading branch information
morrowwolf committed Aug 6, 2023
1 parent c3b6e3b commit 0821f41
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion code/game/machinery/telecomms/presets.dm
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,8 @@ GLOBAL_LIST_EMPTY(all_static_telecomms_towers)
/obj/structure/machinery/telecomms/relay/preset/tower/mapcomms/Initialize()
. = ..()

RegisterSignal(get_turf(src), COMSIG_WEEDNODE_GROWTH, PROC_REF(handle_xeno_acquisition))
RegisterSignal(src, COMSIG_ATOM_TURF_CHANGE, PROC_REF(register_with_turf))
register_with_turf()

/obj/structure/machinery/telecomms/relay/preset/tower/mapcomms/attack_hand(mob/user)
if(user.action_busy)
Expand Down Expand Up @@ -368,6 +369,11 @@ GLOBAL_LIST_EMPTY(all_static_telecomms_towers)

overlays += corruption_image

/obj/structure/machinery/telecomms/relay/preset/tower/mapcomms/proc/register_with_turf()
SIGNAL_HANDLER

RegisterSignal(get_turf(src), COMSIG_WEEDNODE_GROWTH, PROC_REF(handle_xeno_acquisition))

/obj/structure/machinery/telecomms/relay/preset/telecomms
id = "Telecomms Relay"
autolinkers = list("relay")
Expand Down

0 comments on commit 0821f41

Please sign in to comment.