From f41387a57f3828de1a7f87a514e725b2489f1e2d Mon Sep 17 00:00:00 2001 From: Atlantis Date: Thu, 13 Aug 2015 00:07:32 +0200 Subject: [PATCH] Communications emergency-fix - Comments out buggy code that caused some telecommunication machines to introduce insane delay (up to 30s) --- code/game/machinery/telecomms/telecomunications.dm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/code/game/machinery/telecomms/telecomunications.dm b/code/game/machinery/telecomms/telecomunications.dm index 99c18479612..d1ac6df4c5a 100644 --- a/code/game/machinery/telecomms/telecomunications.dm +++ b/code/game/machinery/telecomms/telecomunications.dm @@ -47,11 +47,13 @@ var/global/list/obj/machinery/telecomms/telecomms_list = list() signal.data["slow"] += rand(0, round((100-integrity))) // apply some lag based on integrity + /* + // Edit by Atlantis: Commented out as emergency fix due to causing extreme delays in communications. // Apply some lag based on traffic rates var/netlag = round(traffic / 50) if(netlag > signal.data["slow"]) signal.data["slow"] = netlag - + */ // Loop through all linked machines and send the signal or copy. for(var/obj/machinery/telecomms/machine in links) if(filter && !istype( machine, text2path(filter) ))