Skip to content

Commit

Permalink
Don't set unit attribute on target and menu binds
Browse files Browse the repository at this point in the history
  • Loading branch information
Snakybo committed Sep 24, 2020
1 parent 224975c commit 0629612
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Core/AttributeHandler.lua
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,8 @@ function Clicked:CreateCommandAttributes(register, command, prefix, suffix)

if command.action == Clicked.CommandType.TARGET then
CreateAttribute(register, prefix, "type", suffix, "target")
CreateAttribute(register, prefix, "unit", suffix, "mouseover")
elseif command.action == Clicked.CommandType.MENU then
CreateAttribute(register, prefix, "type", suffix, "menu")
CreateAttribute(register, prefix, "unit", suffix, "mouseover")
elseif command.action == Clicked.CommandType.MACRO then
CreateAttribute(register, prefix, "type", suffix, "macro")
CreateAttribute(register, prefix, "macrotext", suffix, command.data)
Expand Down

0 comments on commit 0629612

Please sign in to comment.