View Single Post
03-31-11, 03:15 PM   #3
hairy_palms
A Fallenroot Satyr
AddOn Author - Click to view addons
Join Date: Feb 2010
Posts: 25
whether its a logout or just a /reload i get the same result, i tried your code just changing the names

Code:
local frame = CreateFrame('Frame', nil, UIParent)
frame:RegisterEvent('ADDON_LOADED')
frame:SetScript('OnEvent', function(self, event, addon)
     if addon ~= 'testaddon' then return end
 
     if not mLayouts then
         mLayouts = {}	
	print("still not saved")
     end
end)
"still not saved" is printed every login regardless

Last edited by hairy_palms : 03-31-11 at 03:18 PM.
  Reply With Quote