mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-30 03:06:01 +00:00
New throttling menu
New throttling menu
This commit is contained in:
+1
-1
@@ -16,7 +16,7 @@ pfUI:RegisterModule("player", "vanilla:tbc", function ()
|
||||
local originalOnUpdate = pfUI.uf.player:GetScript("OnUpdate")
|
||||
pfUI.uf.player:SetScript("OnUpdate", function()
|
||||
if (this.throttleTick or 0) > GetTime() then return end
|
||||
this.throttleTick = GetTime() + 0.1
|
||||
this.throttleTick = GetTime() + 0.1 -- Default: 10 FPS
|
||||
originalOnUpdate()
|
||||
end)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user