Mercurial > wow > skeletonkey
diff SkeletonKey/Events.lua @ 12:8f8917d111c9
- spec tab texture
author | Nenue |
---|---|
date | Thu, 28 Jul 2016 17:45:17 -0400 |
parents | f6d1c192afc6 |
children | 32d64e42ec9b |
line wrap: on
line diff
--- a/SkeletonKey/Events.lua Thu Jul 28 17:43:16 2016 -0400 +++ b/SkeletonKey/Events.lua Thu Jul 28 17:45:17 2016 -0400 @@ -27,7 +27,9 @@ end kb.UNIT_PORTRAIT_UPDATE = function() - SetPortraitTexture(KeyBinderCharacterTab.icon, 'player') + if KeyBinderCharacterTab then + SetPortraitTexture(KeyBinderCharacterTab.icon, 'player') + end end kb.PLAYER_REGEN_ENABLED = function()