Originally Posted by Lesteryoung
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:
local function HookTalkingHead()
-- do the thing
end
if TalkingHeadFrame then
HookTalkingHead()
else -- Hook to the loading function.
hooksecurefunc('TalkingHead_LoadUI', HookTalkingHead)
end