mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-24 04:50:49 +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)
|
end)
|
||||||
|
|
||||||
widget:SetScript("OnUpdate",function()
|
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
|
if GetGuildInfo("player") then GuildRoster() end
|
||||||
end)
|
end)
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user