panel: update guild roster only once a minute

This commit is contained in:
shagu
2022-06-14 19:06:32 +02:00
parent 1bc5d09327
commit fff8dcf578
+1 -1
View File
@@ -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