From ef0254b32d2e3d304ce950b2912688726b621f73 Mon Sep 17 00:00:00 2001 From: CitadelStationBot Date: Mon, 12 Jun 2017 18:25:51 -0500 Subject: [PATCH] Workaround for byond bug causing clients to flood the server with repeated asset cache arrival messages --- code/modules/client/client_procs.dm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/code/modules/client/client_procs.dm b/code/modules/client/client_procs.dm index fc21e9e0d2..b11c1e72a7 100644 --- a/code/modules/client/client_procs.dm +++ b/code/modules/client/client_procs.dm @@ -38,6 +38,9 @@ if (job && job <= last_asset_job && !(job in completed_asset_jobs)) completed_asset_jobs += job return + else if (job in completed_asset_jobs) //byond bug ID:2256651 + to_chat(src, "An error has been detected in how your client is receiving resources. Attempting to correct.... (If you keep seeing these messages you might want to close byond and reconnect)") + src << browse("...", "window=asset_cache_browser") if (!holder && config.minutetopiclimit) var/minute = round(world.time, 600) @@ -675,4 +678,4 @@ GLOBAL_LIST(external_rsc_urls) /client/proc/AnnouncePR(announcement) if(prefs && prefs.chat_toggles & CHAT_PULLR) - to_chat(src, announcement) \ No newline at end of file + to_chat(src, announcement)