Hi
My saved saved variables are not saving and i only ever get the default values
Here is the init function for my addon.
Code:
function ShutupRillis:Initialize()
d("ShutupRillis loaded")
ShutupRillis.savedVariables = ZO_SavedVars:NewAccountWide("ShutupRillisVars", ShutupRillis.variableVersion, nil, ShutupRillis.Default)
CALLBACK_MANAGER:RegisterCallback("OnWorldMapChanged", ShutupRillis.OnZoneChanged)
EVENT_MANAGER:RegisterForEvent(ShutupRillis.name, EVENT_ZONE_CHANGED, ShutupRillis.OnZoneChanged)
ShutupRillis.LoadSettings()
end
Edit: I think this became a problem when i changed the API version in the manifest.