From 2f91e85a35e2ae3f772d8330c97bcb569a93e94d Mon Sep 17 00:00:00 2001 From: Meow <30401521+me0wg4ming@users.noreply.github.com> Date: Thu, 8 Jan 2026 13:12:29 +0100 Subject: [PATCH] Castbar update - Reduces castbar updates from 50 times per second to 40 times per second (still looks smooth but gives us more performance) --- modules/nameplates.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/nameplates.lua b/modules/nameplates.lua index 3f05a2f8..6f65179a 100644 --- a/modules/nameplates.lua +++ b/modules/nameplates.lua @@ -944,7 +944,7 @@ pfUI:RegisterModule("nameplates", "vanilla", function () -- OPTIMIZED: Minimal throttle - only skip if very recent update local target = UnitExists("target") and frame:GetAlpha() == 1 or nil - local throttle = target and 0.02 or 0.02 + local throttle = target and 0.025 or 0.025 if (nameplate.lasttick or 0) + throttle > GetTime() then return end nameplate.lasttick = GetTime()