fix a bug in button code

This commit is contained in:
Hendrik Leppkes
2008-03-03 12:05:45 +00:00
parent 3ae640802d
commit 4fe87b8eeb
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -105,8 +105,8 @@ function PetButtonPrototype:Update()
self.tooltipName = _G[name]
end
self.isToken = isToken;
self.tooltipSubtext = subtext;
self.isToken = isToken
self.tooltipSubtext = subtext
self:SetChecked(isActive and 1 or 0)
if autoCastAllowed then
self.autocastable:Show()