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
+1 -1
View File
@@ -16,7 +16,7 @@ pfUI:RegisterModule("player", "vanilla:tbc", function ()
local originalOnUpdate = pfUI.uf.player:GetScript("OnUpdate")
pfUI.uf.player:SetScript("OnUpdate", function()
if (this.throttleTick or 0) > GetTime() then return end
this.throttleTick = GetTime() + 0.1
this.throttleTick = GetTime() + 0.1 -- Default: 10 FPS
originalOnUpdate()
end)
end