mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-01 11:20:01 +00:00
enhanced merge into master
Final release!
This commit is contained in:
+2
-2
@@ -15,8 +15,8 @@ pfUI:RegisterModule("player", "vanilla:tbc", function ()
|
||||
if pfUI.uf.player:GetScript("OnUpdate") then
|
||||
local originalOnUpdate = pfUI.uf.player:GetScript("OnUpdate")
|
||||
pfUI.uf.player:SetScript("OnUpdate", function()
|
||||
if (this.tick or 0) > GetTime() then return end
|
||||
this.tick = GetTime() + 0.1
|
||||
if (this.throttleTick or 0) > GetTime() then return end
|
||||
this.throttleTick = GetTime() + 0.1
|
||||
originalOnUpdate()
|
||||
end)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user