From 0f68bdfdfcadd781a122889ee687dfc76e8315fd Mon Sep 17 00:00:00 2001 From: Matt Atlas Date: Thu, 15 Oct 2020 18:25:19 +0200 Subject: [PATCH] Fixes chat instability (#10216) BACK IN THE MINE SWINGING MY PICKAXE FROM SIDE TO SIDE SIDE SIDE TO SIDE --- code/modules/client/asset_cache.dm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/code/modules/client/asset_cache.dm b/code/modules/client/asset_cache.dm index 88ae6a4f82a..136bc25abb4 100644 --- a/code/modules/client/asset_cache.dm +++ b/code/modules/client/asset_cache.dm @@ -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',