Fix error in auto-assist code with harm-assisting

This commit is contained in:
Hendrik Leppkes
2008-10-11 19:48:55 +02:00
parent 5efa96d0ee
commit 1b76f3f9dd
+1 -1
View File
@@ -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