From d897798d5cc19c10b187e6323c45c0eb726c48ca Mon Sep 17 00:00:00 2001 From: "giacomand@gmail.com" Date: Mon, 6 Aug 2012 14:48:10 +0000 Subject: [PATCH] -Fixed an issue where the NTSL's broadcast function couldn't send it's signal due to the new telecommunication machines. -Made the telecommunication server and NTSL broadcast more robust so that having a HUB is an option, if someone decides to create their own network. git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4325 316c924e-a436-60f5-8080-3fe189b3f50e --- code/game/machinery/telecomms/telecomunications.dm | 1 + code/modules/scripting/Implementations/Telecomms.dm | 2 ++ 2 files changed, 3 insertions(+) diff --git a/code/game/machinery/telecomms/telecomunications.dm b/code/game/machinery/telecomms/telecomunications.dm index bef7fc7d19..ea855d0688 100644 --- a/code/game/machinery/telecomms/telecomunications.dm +++ b/code/game/machinery/telecomms/telecomunications.dm @@ -509,6 +509,7 @@ var/global/list/obj/machinery/telecomms/telecomms_list = list() if(Compiler && autoruncode) Compiler.Run(signal) // execute the code + relay_information(signal, "/obj/machinery/telecomms/broadcaster", 1) relay_information(signal, "/obj/machinery/telecomms/hub", 1) diff --git a/code/modules/scripting/Implementations/Telecomms.dm b/code/modules/scripting/Implementations/Telecomms.dm index b6ab178a0c..d8dae33be3 100644 --- a/code/modules/scripting/Implementations/Telecomms.dm +++ b/code/modules/scripting/Implementations/Telecomms.dm @@ -268,4 +268,6 @@ datum/signal newsign.data["vmessage"] = H.voice_message newsign.data["vname"] = H.voice_name newsign.data["vmask"] = 0 + S.relay_information(newsign, "/obj/machinery/telecomms/broadcaster") // send this simple message to broadcasters + S.relay_information(newsign, "/obj/machinery/telecomms/hub")