mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-13 11:43:31 +00:00
Communications emergency-fix
- Comments out buggy code that caused some telecommunication machines to introduce insane delay (up to 30s)
This commit is contained in:
@@ -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
|
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
|
// Apply some lag based on traffic rates
|
||||||
var/netlag = round(traffic / 50)
|
var/netlag = round(traffic / 50)
|
||||||
if(netlag > signal.data["slow"])
|
if(netlag > signal.data["slow"])
|
||||||
signal.data["slow"] = netlag
|
signal.data["slow"] = netlag
|
||||||
|
*/
|
||||||
// Loop through all linked machines and send the signal or copy.
|
// Loop through all linked machines and send the signal or copy.
|
||||||
for(var/obj/machinery/telecomms/machine in links)
|
for(var/obj/machinery/telecomms/machine in links)
|
||||||
if(filter && !istype( machine, text2path(filter) ))
|
if(filter && !istype( machine, text2path(filter) ))
|
||||||
|
|||||||
Reference in New Issue
Block a user