Don't clear the unit attribute in the state configuration anymore, secure env does that now.
This commit is contained in:
@@ -289,7 +289,6 @@ function Button:RefreshStateAction(state)
|
|||||||
elseif action == 132 then
|
elseif action == 132 then
|
||||||
self:SetAttribute("clickbutton", PossessButton2)
|
self:SetAttribute("clickbutton", PossessButton2)
|
||||||
end
|
end
|
||||||
self:SetAttribute("unit", nil)
|
|
||||||
end
|
end
|
||||||
|
|
||||||
function Button:UpdateSelfCast()
|
function Button:UpdateSelfCast()
|
||||||
|
|||||||
Reference in New Issue
Block a user