Exclude statbrowser from seconds topic limiter (#70386)

* Exclude statbrowser from seconds topic limiter

* Update code/modules/client/client_procs.dm

Co-authored-by: Aleksej Komarov <stylemistake@gmail.com>

Co-authored-by: Aleksej Komarov <stylemistake@gmail.com>
This commit is contained in:
Gamer025
2022-10-10 04:45:25 +02:00
committed by GitHub
parent 57e1b2df57
commit 2aaaf4692a
+1 -1
View File
@@ -65,7 +65,7 @@ GLOBAL_LIST_INIT(blacklisted_builds, list(
return
var/stl = CONFIG_GET(number/second_topic_limit)
if (!holder && stl)
if (!holder && stl && href_list["window_id"] != "statbrowser")
var/second = round(world.time, 10)
if (!topiclimiter)
topiclimiter = new(LIMITER_SIZE)