View Single Post
10-18-17, 12:07 PM   #10
MunkDev
A Scalebane Royal Guard
 
MunkDev's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2015
Posts: 431
Originally Posted by Lesteryoung View Post
Ah, I see what happened.

I have my own lua/toc file filled with small 3-10 line UI tweaks so I don't have 20 addons that are 1kb in my addon folder; I thought I could simply copy/paste the code into my lua, not knowing there were dependencies in the toc.

My mistake.


Lua Code:
  1. local function HookTalkingHead()
  2.     -- do the thing
  3. end
  4.  
  5. if TalkingHeadFrame then
  6.     HookTalkingHead()
  7. else -- Hook to the loading function.
  8.     hooksecurefunc('TalkingHead_LoadUI', HookTalkingHead)
  9. end
__________________
  Reply With Quote