From 720427f6564b5bb0da04c2a36567185eee568973 Mon Sep 17 00:00:00 2001 From: AffectedArc07 Date: Sat, 16 May 2020 13:02:49 +0100 Subject: [PATCH] Fixes syndie radios --- code/game/machinery/tcomms/core.dm | 7 +++++++ code/game/machinery/tcomms/relay.dm | 2 ++ 2 files changed, 9 insertions(+) diff --git a/code/game/machinery/tcomms/core.dm b/code/game/machinery/tcomms/core.dm index 59bf9c88375..8fa59b6db5c 100644 --- a/code/game/machinery/tcomms/core.dm +++ b/code/game/machinery/tcomms/core.dm @@ -85,6 +85,13 @@ // Now check if they actually have pieces, if so, broadcast if(tcm.message_pieces) + // This needs two broadcasts to make it work for syndicate radios. I hate it. + // Someone please make this better + // Although oddly enough, this is how it worked pre-rework + // The only reason regular traitors could intercept is because of the tcomms machine on the nukies shuttle + // Why. FUCKING WHY!!!!!!!!!! + broadcast_message(tcm) + tcm.data = SIGNALTYPE_ANTAG broadcast_message(tcm) return TRUE diff --git a/code/game/machinery/tcomms/relay.dm b/code/game/machinery/tcomms/relay.dm index 721006d0c11..fb6c8d2a6f0 100644 --- a/code/game/machinery/tcomms/relay.dm +++ b/code/game/machinery/tcomms/relay.dm @@ -138,6 +138,8 @@ if(href_list["toggle_active"]) active = !active update_icon() + if(linked_core) + linked_core.refresh_zlevels() // Set network ID if(href_list["network_id"])