mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-25 00:56:02 +00:00
unitframes: use less indicator updates
This commit is contained in:
+5
-5
@@ -882,14 +882,14 @@ function pfUI.uf:RefreshUnit(unit, component)
|
||||
break
|
||||
end
|
||||
end
|
||||
|
||||
-- add icons for every found buff
|
||||
for pos, icon in pairs(active) do
|
||||
pfUI.uf:AddIcon(unit, pos, icon)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
-- add icons for every found buff
|
||||
for pos, icon in pairs(active) do
|
||||
pfUI.uf:AddIcon(unit, pos, icon)
|
||||
end
|
||||
|
||||
-- hide unued icon slots
|
||||
for pos=table.getn(active)+1, 6 do
|
||||
pfUI.uf:HideIcon(unit, pos)
|
||||
|
||||
Reference in New Issue
Block a user