Prevents a rate limit when alt clicking or receiving a ping from the server. (#26127)

This commit is contained in:
Spaghetti-bit
2024-07-22 00:44:07 -07:00
committed by GitHub
parent d51c3cf478
commit 3299640dce
+1 -1
View File
@@ -80,7 +80,7 @@
return
var/stl = 10 // 10 topics a second
if(!holder && href_list["window_id"] != "statbrowser") // Admins are allowed to spam click, deal with it.
if(!holder && href_list["window_id"] != "statbrowser" && href_list["window_id"] != "chat_panel") // Admins are allowed to spam click, deal with it.
var/second = round(world.time, 10)
if(!topiclimiter)
topiclimiter = new(LIMITER_SIZE)