performance updates

performance updates
This commit is contained in:
Meow
2025-12-31 12:21:44 +01:00
committed by GitHub
parent a4cd49dbfd
commit 6eca163abd
8 changed files with 1938 additions and 18 deletions
+3
View File
@@ -321,6 +321,9 @@ pfUI:RegisterModule("nameplates", "vanilla:tbc", function ()
end)
nameplates:SetScript("OnUpdate", function()
-- throttle to 10 updates per second instead of every frame
if (this.tick or 0.1) > GetTime() then return else this.tick = GetTime() + 0.1 end
-- propagate events to all nameplates
if this.eventcache then
this.eventcache = nil