mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 06:40:13 -05:00
- Moved call to CVarUpdate() to happen later in the startup sequence.
This commit is contained in:
@ -15,8 +15,6 @@ function CastBar.prototype:init()
|
||||
self:SetDefaultColor("CastNotInRange", 200, 200, 200)
|
||||
|
||||
self.unit = "player"
|
||||
|
||||
self:CVarUpdate()
|
||||
end
|
||||
|
||||
|
||||
@ -304,6 +302,8 @@ function CastBar.prototype:Enable(core)
|
||||
|
||||
self:RegisterEvent("CVAR_UPDATE", "CVarUpdate")
|
||||
|
||||
self:CVarUpdate()
|
||||
|
||||
if self.moduleSettings.enabled and not self.moduleSettings.showBlizzCast then
|
||||
self:ToggleBlizzCast(false)
|
||||
end
|
||||
|
Reference in New Issue
Block a user