View Single Post
01-05-20, 08:08 AM   #3
myrroddin
A Pyroguard Emberseer
 
myrroddin's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2008
Posts: 1,240
Side note, line 1 should begin with the word local and optionsProfile on line 209 should also be localized.

If you have multiple Lua files in your addon, you can get a reference to the main table in the other Lua files using
Code:
local RaidSummon = LibStub("AceAddon-3.0"):GetAddon("RaidSummon")
This will cut down on errors caused by name conflicts in the global namespace.
  Reply With Quote