You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
378 B
13 lines
378 B
|
5 years ago
|
-- all this is is a frame that ensures that the SV is a table type
|
||
|
|
local addonName = ...
|
||
|
|
local loader = CreateFrame("FRAME")
|
||
|
|
loader:RegisterEvent("ADDON_LOADED")
|
||
|
|
loader:SetScript("OnEvent", function(self, _, addon)
|
||
|
|
if addon == addonName then
|
||
|
|
if type(WeakAurasArchive) ~= "table" then
|
||
|
|
WeakAurasArchive = {}
|
||
|
|
end
|
||
|
|
self:UnregisterEvent("ADDON_LOADED")
|
||
|
|
end
|
||
|
|
end)
|