Workaround for byond bug causing clients to flood the server with repeated asset cache arrival messages

This commit is contained in:
CitadelStationBot
2017-06-12 18:25:51 -05:00
parent 5e85e37fa5
commit ef0254b32d
+4 -1
View File
@@ -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, "<span class='danger'>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)</span>")
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)
to_chat(src, announcement)