properly show the autocast shine when toggling it

This commit is contained in:
Hendrik Leppkes
2008-08-06 10:45:30 +00:00
parent cab1f365bf
commit 827676e74b
+2 -2
View File
@@ -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