From 692121eca27767a868769fcd37665455164f3334 Mon Sep 17 00:00:00 2001 From: Parnic Date: Sun, 12 Oct 2014 15:46:10 -0500 Subject: [PATCH] - Fixed CustomCDBar not displaying correctly in 6.0 when in "When ready" mode. --- modules/CustomCDBar.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/CustomCDBar.lua b/modules/CustomCDBar.lua index 4d344d2..74291c2 100644 --- a/modules/CustomCDBar.lua +++ b/modules/CustomCDBar.lua @@ -663,7 +663,7 @@ function IceCustomCDBar.prototype:IsReady() local is_ready = nil local checkSpell = self:GetSpellNameOrId(self.moduleSettings.cooldownToTrack) - if (IsUsableSpell(checkSpell) == 1) then + if (IsUsableSpell(checkSpell)) then if (not self.moduleSettings.bIgnoreRange and SpellHasRange(checkSpell)) or (self.moduleSettings.bOnlyShowWithTarget) then if (UnitExists("target") and (not SpellHasRange(checkSpell) or IsSpellInRange(checkSpell, "target") == 1)) or (not UnitExists("target") and not self.moduleSettings.bOnlyShowWithTarget and IsSpellInRange(checkSpell, "player")) then