mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-28 18:36:01 +00:00
unitframes: only update player cooldown on show
This commit is contained in:
+1
-1
@@ -666,7 +666,7 @@ function pfUI.uf:UpdateConfig()
|
||||
f.buffs[i]:SetHeight(f.config.buffsize)
|
||||
|
||||
if f:GetName() == "pfPlayer" then
|
||||
f.buffs[i]:SetScript("OnUpdate", BuffOnUpdate)
|
||||
f.buffs[i]:SetScript("OnShow", BuffOnUpdate)
|
||||
elseif f:GetName() == "pfTarget" and pfUI.expansion == "tbc" then
|
||||
f.buffs[i]:SetScript("OnUpdate", TargetBuffOnUpdate)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user