Fixes chat instability (#10216)

BACK IN THE MINE
SWINGING MY PICKAXE FROM
SIDE TO SIDE SIDE SIDE TO SIDE
This commit is contained in:
Matt Atlas
2020-10-15 18:25:19 +02:00
committed by GitHub
parent 5a1d10794d
commit 0f68bdfdfc
+4 -1
View File
@@ -63,6 +63,9 @@ You can set verify to TRUE if you want send() to sleep until the client has the
while(client && !client.completed_asset_jobs.Find(job) && t < timeout_time) // Reception is handled in Topic()
sleep(1) // Lock up the caller until this is received.
t++
if(t >= timeout_time)
log_admin(SPAN_DANGER("Timeout time [timeout_time] exceeded for asset: [asset_name] for client [client]. Please notify a developer."))
if(client)
client.sending -= asset_name
@@ -284,7 +287,7 @@ var/list/asset_datums = list()
)
/datum/asset/simple/goonchat
verify = TRUE
verify = FALSE
assets = list(
"json2.min.js" = 'code/modules/goonchat/browserassets/js/json2.min.js',
"browserOutput.js" = 'code/modules/goonchat/browserassets/js/browserOutput.js',