From 5b8a3008bdfac5b5efd663cc47c510bdebc1ff54 Mon Sep 17 00:00:00 2001 From: Parnic Date: Sun, 27 Apr 2014 20:06:15 +0000 Subject: [PATCH] - Moved call to CVarUpdate() to happen later in the startup sequence. --- modules/CastBar.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/CastBar.lua b/modules/CastBar.lua index f619af3..bcd5829 100644 --- a/modules/CastBar.lua +++ b/modules/CastBar.lua @@ -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