Only try to set our special-action-icon on our own buttons

This commit is contained in:
Hendrik Leppkes 2008-11-10 22:49:05 +01:00
parent 1665e10865
commit ebd489cfd5

View file

@ -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