Apply strata adjustment inside BarFactory instead of every callsite

This commit is contained in:
Parnic
2023-08-02 08:25:34 -05:00
parent 40fc8187fd
commit 6cee8c738c
9 changed files with 12 additions and 12 deletions

View File

@ -426,7 +426,7 @@ end
function CastBar.prototype:CreateLagBar()
if self.lagBar == nil then
self.lagBar = self:BarFactory(self.lagBar, IceHUD.IceCore:DetermineStrata("LOW"), "OVERLAY", "Lag")
self.lagBar = self:BarFactory(self.lagBar, "LOW", "OVERLAY", "Lag")
end
local r, g, b = self:GetColor("CastLag")