From cab1f365bfd0070960df4385e72c202a0c3ef005 Mon Sep 17 00:00:00 2001 From: Hendrik Leppkes Date: Wed, 6 Aug 2008 10:42:13 +0000 Subject: [PATCH] some fixes to petbar and the new autocast glow --- buttonPrototypes/PetButton.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/buttonPrototypes/PetButton.lua b/buttonPrototypes/PetButton.lua index bd14408..471b0f9 100644 --- a/buttonPrototypes/PetButton.lua +++ b/buttonPrototypes/PetButton.lua @@ -41,7 +41,7 @@ function Bartender4.PetButton:Create(id, parent) button.cooldown = _G[name .. "Cooldown"] button.icon = _G[name .. "Icon"] button.autocastable = _G[name .. "AutoCastable"] - button.autocast = _G[name .. "AutoCast"] + button.autocast = _G[name .. "Shine"] button:SetNormalTexture("") local oldNT = button:GetNormalTexture() @@ -87,10 +87,10 @@ function PetButtonPrototype:Update() self.autocast:Hide() elseif autoCastAllowed and autoCastEnabled then self.autocastable:Hide() - self.autocast:Show() + AutoCastShine_AutoCastStart(self.autocast) else self.autocastable:Hide() - self.autocast:Hide() + AutoCastShine_AutoCastStop(self.autocast) end if texture then