Only try to set our special-action-icon on our own buttons
This commit is contained in:
+1
-1
@@ -199,7 +199,7 @@ function onUpdate(self, elapsed)
|
|||||||
end
|
end
|
||||||
|
|
||||||
local function updateSpecialIcon(self)
|
local function updateSpecialIcon(self)
|
||||||
if self.action and specialButtons[self.action] then
|
if self.BT4init and self.action and specialButtons[self.action] then
|
||||||
self.icon:SetTexture(specialButtons[self.action].icon)
|
self.icon:SetTexture(specialButtons[self.action].icon)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user