From 1b76f3f9dd55db008bec831781440310dafb9715 Mon Sep 17 00:00:00 2001 From: Hendrik Leppkes Date: Sat, 11 Oct 2008 19:48:55 +0200 Subject: [PATCH] Fix error in auto-assist code with harm-assisting --- ActionButton.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ActionButton.lua b/ActionButton.lua index 661fb9b..a386dfe 100644 --- a/ActionButton.lua +++ b/ActionButton.lua @@ -131,7 +131,7 @@ function Bartender4.Button:Create(id, parent) ]]) button:SetAttribute('_childupdate-assist-harm', [[ - if self:GetAttribute("assisttype"..G_state) == 2 then + if self:GetAttribute("assisttype-"..G_state) == 2 then self:SetAttribute("unit", message) end G_assist_harm = message