fix a bug in button code
This commit is contained in:
+2
-2
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user