mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-26 17:36:04 +00:00
raid roster update
raid roster fallback update changed to 1second (doesn't need more cause this is a backup)
This commit is contained in:
+2
-2
@@ -87,9 +87,9 @@ pfUI:RegisterModule("raid", "vanilla:tbc", function ()
|
||||
pfUI.uf.raid:RegisterEvent("VARIABLES_LOADED")
|
||||
pfUI.uf.raid:SetScript("OnEvent", function() this:Show() end)
|
||||
pfUI.uf.raid:SetScript("OnUpdate", function()
|
||||
-- Throttle raid roster updates to 5 FPS
|
||||
-- Throttle raid roster updates to 1 FPS
|
||||
if (this.tick or 0) > GetTime() then return end
|
||||
this.tick = GetTime() + 0.25
|
||||
this.tick = GetTime() + 1.0
|
||||
|
||||
-- don't proceed without raid or during combat
|
||||
if not UnitInRaid("player") or (InCombatLockdown and InCombatLockdown()) then return end
|
||||
|
||||
Reference in New Issue
Block a user