From 827676e74bb9d1b62a51426d270c3f8f7d62cfea Mon Sep 17 00:00:00 2001 From: Hendrik Leppkes Date: Wed, 6 Aug 2008 10:45:30 +0000 Subject: [PATCH] properly show the autocast shine when toggling it --- buttonPrototypes/PetButton.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/buttonPrototypes/PetButton.lua b/buttonPrototypes/PetButton.lua index 471b0f9..6a270b7 100644 --- a/buttonPrototypes/PetButton.lua +++ b/buttonPrototypes/PetButton.lua @@ -84,8 +84,8 @@ function PetButtonPrototype:Update() self:SetChecked(isActive and 1 or 0) if autoCastAllowed and not autoCastEnabled then self.autocastable:Show() - self.autocast:Hide() - elseif autoCastAllowed and autoCastEnabled then + AutoCastShine_AutoCastStop(self.autocast) + elseif autoCastAllowed then self.autocastable:Hide() AutoCastShine_AutoCastStart(self.autocast) else