mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 14:50:13 -05:00
Don't recreate lag bar unnecessarily
This commit is contained in:
@ -394,7 +394,9 @@ end
|
|||||||
|
|
||||||
|
|
||||||
function CastBar.prototype:CreateLagBar()
|
function CastBar.prototype:CreateLagBar()
|
||||||
self.lagBar = self:BarFactory(self.lagBar, "LOW", "OVERLAY")
|
if self.lagBar == nil then
|
||||||
|
self.lagBar = self:BarFactory(self.lagBar, "LOW", "OVERLAY")
|
||||||
|
end
|
||||||
|
|
||||||
local r, g, b = self:GetColor("CastLag")
|
local r, g, b = self:GetColor("CastLag")
|
||||||
if (self.settings.backgroundToggle) then
|
if (self.settings.backgroundToggle) then
|
||||||
|
Reference in New Issue
Block a user