Originally Posted by Sweetsour
Lua Code:
local main = {}; main = addon.MainFrame;
|
Also this is kind of silly -- if you want "main" to be a reference to "addon.MainFrame" just set it as one directly, without creating and immediately discarding a random table in between:
Lua Code:
local main = addon.MainFrame;