View Single Post
09/12/20, 09:03 AM   #1
CoffeeMonster42
Join Date: Sep 2020
Posts: 2
Saved variables not saving

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.

Last edited by CoffeeMonster42 : 09/12/20 at 09:35 AM.
  Reply With Quote