Throttles

Added throttle for player castbar, player frame and Raidframes
This commit is contained in:
Meow
2026-01-10 14:31:47 +01:00
parent 9fc161df21
commit 7f93ebefaf
3 changed files with 17 additions and 2 deletions
+1 -1
View File
@@ -89,7 +89,7 @@ pfUI:RegisterModule("raid", "vanilla:tbc", function ()
pfUI.uf.raid:SetScript("OnUpdate", function()
-- Throttle raid roster updates to 5 FPS
if (this.tick or 0) > GetTime() then return end
this.tick = GetTime() + 0.2
this.tick = GetTime() + 0.25
-- don't proceed without raid or during combat
if not UnitInRaid("player") or (InCombatLockdown and InCombatLockdown()) then return end