View Single Post
12/19/14, 04:46 PM   #4
circonian
AddOn Author - Click to view addons
Join Date: May 2014
Posts: 613
Originally Posted by votan View Post
Edit: I just looked a bit closer to your code:
Maybe you are calling ZO_SavedVars:NewAccountWide a bit too early. What if the addon is not "ZO_Ingame"? You do not exit. Instead you unregister as soon as the first event is called.
Doh, yeah of course, that is why its all getting overwritten. I had changed code around so many times. I was originally grabbing the saved vars in the ln4r:Initialize(). I was just moving things around trying to figure out a way to make it work and didn't even notice that. Thanks
  Reply With Quote