Mercurial > wow > skeletonkey
comparison 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 |
comparison
equal
deleted
inserted
replaced
64:178d489f387c | 65:556e075983a6 |
---|---|
243 end | 243 end |
244 | 244 |
245 kb.UpdateMacroInfo = function() | 245 kb.UpdateMacroInfo = function() |
246 for index = 1, GetNumMacros() do | 246 for index = 1, GetNumMacros() do |
247 local name = GetMacroInfo(index) | 247 local name = GetMacroInfo(index) |
248 kb.SecureAttribute(KeyBinderMacro, "*macro_"..tostring(name), i) | 248 kb.SecureAttribute(KeyBinderMacro, "*type-macro_"..tostring(name), 'macro') |
249 kb.SecureAttribute(KeyBinderMacro, "*macro-macro_"..tostring(name), i) | |
249 end | 250 end |
250 end | 251 end |
251 | 252 |
252 kb.UpdateTalentInfo = function() | 253 kb.UpdateTalentInfo = function() |
253 if kb.talentsPushed then | 254 if kb.talentsPushed then |