From ebd489cfd57cbcf076c2bf78ecf933206681659b Mon Sep 17 00:00:00 2001 From: Hendrik Leppkes Date: Mon, 10 Nov 2008 22:49:05 +0100 Subject: [PATCH] Only try to set our special-action-icon on our own buttons --- ActionButton.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ActionButton.lua b/ActionButton.lua index 86aab83..4d98eb0 100644 --- a/ActionButton.lua +++ b/ActionButton.lua @@ -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