Mercurial > wow > skeletonkey
diff SkeletonKey/UI.lua @ 13:eeec4a600064
- kb.bindings carries the exact values needed for matching GetActionInfo() outputs
author | Nenue |
---|---|
date | Thu, 28 Jul 2016 18:20:32 -0400 |
parents | 8f8917d111c9 |
children |
line wrap: on
line diff
--- a/SkeletonKey/UI.lua Thu Jul 28 17:45:17 2016 -0400 +++ b/SkeletonKey/UI.lua Thu Jul 28 18:20:32 2016 -0400 @@ -323,7 +323,6 @@ isAvailable = GetSpellInfo(name) end - actionID = name elseif actionType == 'macro' then if not actionID then actionID = GetMacroIndexByName(name) @@ -340,7 +339,7 @@ if isAvailable then local oldCommand = command - macroName, macroText, command = kb.RegisterAction(actionType, actionID) + macroName, macroText, command = kb.RegisterAction(actionType, actionID, name) if oldCommand ~= command then print('|cFFFF4400fixing command string', actionType, actionID, name) kb.currentProfile.bound[oldCommand] = nil