diff SkeletonKey/ActionTemplates.lua @ 65:556e075983a6

check for valid spell name when updating talent data
author Nenue
date Sat, 10 Sep 2016 19:08:19 -0400
parents 178d489f387c
children 41f367b832a2
line wrap: on
line diff
--- a/SkeletonKey/ActionTemplates.lua	Fri Sep 09 11:40:53 2016 -0400
+++ b/SkeletonKey/ActionTemplates.lua	Sat Sep 10 19:08:19 2016 -0400
@@ -245,7 +245,8 @@
 kb.UpdateMacroInfo =  function()
   for index = 1, GetNumMacros() do
     local name = GetMacroInfo(index)
-    kb.SecureAttribute(KeyBinderMacro, "*macro_"..tostring(name), i)
+    kb.SecureAttribute(KeyBinderMacro, "*type-macro_"..tostring(name), 'macro')
+    kb.SecureAttribute(KeyBinderMacro, "*macro-macro_"..tostring(name), i)
   end
 end