Only try to set our special-action-icon on our own buttons
This commit is contained in:
parent
1665e10865
commit
ebd489cfd5
1 changed files with 1 additions and 1 deletions
|
|
@ -199,7 +199,7 @@ function onUpdate(self, elapsed)
|
|||
end
|
||||
|
||||
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)
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue