New throttling menu

New throttling menu
This commit is contained in:
Meow
2026-02-06 08:07:33 +01:00
parent 720cf8a4f2
commit 37beca7103
16 changed files with 579 additions and 16 deletions
+2 -2
View File
@@ -240,10 +240,10 @@ libpredict:SetScript("OnEvent", function()
end)
libpredict:SetScript("OnUpdate", function()
-- throttle cleanup to 0.1s - no need to check every frame
-- throttle cleanup - no need to check every frame
local now = pfUI.uf.now or GetTime()
if (this.tick or 0) > now then return end
this.tick = now + 0.1
this.tick = now + 0.1 -- Default: 10 FPS
-- update on timeout events
for timestamp, targets in pairs(events) do