rename var, throttle bar onUpdate

This commit is contained in:
pepopo978
2025-06-20 10:54:31 -07:00
committed by pmaccamp
parent 8cf7b2e45a
commit 7e81cd7558
4 changed files with 30 additions and 24 deletions
+6
View File
@@ -181,6 +181,12 @@ ui.BarUpdate = function()
return
end
if (this.tick or 1) > GetTime() then
return
else
this.tick = GetTime() + 0.05
end
-- update statusbar values if it exists
if this.healthBar then
this.healthBar:SetMinMaxValues(0, UnitHealthMax(this.guid))