mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-28 10:26:02 +00:00
panel: update guild roster only once a minute
This commit is contained in:
+1
-1
@@ -417,7 +417,7 @@ pfUI:RegisterModule("panel", "vanilla:tbc", function()
|
||||
end)
|
||||
|
||||
widget:SetScript("OnUpdate",function()
|
||||
if ( this.tick or 10) > GetTime() then return else this.tick = GetTime() + 10 end
|
||||
if ( this.tick or 60) > GetTime() then return else this.tick = GetTime() + 60 end
|
||||
if GetGuildInfo("player") then GuildRoster() end
|
||||
end)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user