diff SkeletonKey/HotKey.lua @ 29:bb160c04de88

- update matching patterns used for picking up profession keybinds
author Nenue
date Fri, 05 Aug 2016 12:25:18 -0400
parents 73df13211b22
children 1aba8a6fd4a9
line wrap: on
line diff
--- a/SkeletonKey/HotKey.lua	Tue Aug 02 12:33:57 2016 -0400
+++ b/SkeletonKey/HotKey.lua	Fri Aug 05 12:25:18 2016 -0400
@@ -152,7 +152,10 @@
   print(actionSlots[slot], event, slot, GetActionInfo(slot))
   --print(GetActionButtonForID(slot))
   local atype, aid = GetActionInfo(slot)
+  if actionSlots[slot] then
   hotkey.UpdateSkeletonKeyText(actionSlots[slot], atype, aid, HasAction(slot))
+  end
+
 end
 
 hotkey.player = function()