adding new saved variables
Is there a way to add a new "default" saved var to my existing variables without having to change the version number and clear out current user's saved var file?
is it easy as just adding the new value to my code on addon load? Code:
MYADDON.savedVariables.AutoSaveChanges = 0 |
Yes, it is exactly that easy as you say.
Just add some flag to the saved variables, so you can check if variables are updated already. Something like: Lua Code:
|
Quote:
|
All times are GMT -6. The time now is 04:42 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI