mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-14 17:20:50 +00:00
nameplates...
changed update rate to 0.02 for casts (else it looks to laggy)
This commit is contained in:
@@ -944,7 +944,7 @@ pfUI:RegisterModule("nameplates", "vanilla", function ()
|
|||||||
|
|
||||||
-- OPTIMIZED: Minimal throttle - only skip if very recent update
|
-- OPTIMIZED: Minimal throttle - only skip if very recent update
|
||||||
local target = UnitExists("target") and frame:GetAlpha() == 1 or nil
|
local target = UnitExists("target") and frame:GetAlpha() == 1 or nil
|
||||||
local throttle = target and 0.02 or 0.10
|
local throttle = target and 0.02 or 0.02
|
||||||
|
|
||||||
if (nameplate.lasttick or 0) + throttle > GetTime() then return end
|
if (nameplate.lasttick or 0) + throttle > GetTime() then return end
|
||||||
nameplate.lasttick = GetTime()
|
nameplate.lasttick = GetTime()
|
||||||
|
|||||||
Reference in New Issue
Block a user