@circonioan: I meant not included, sry; edited post
Originally Posted by votan
If I compare Garkin and sirinsidiator, the difference is, that Garkin uses only one ## SavedVariables.
|
Both methods seem to work, AlphaTools uses two lines.
Originally Posted by sirinsidiator
I tried to use two saved variables in one addon before, but it randomly failed to save them on ui reloads.
|
I've encountered a nasty bug with using two saved variables. If any of them is not present in the saved file already and you don't create it upon load, the file will subsequently be saved corrupted - with the variable you did create appended to it instead of replaced. That way my AddonProfiles.lua grew over 2.5MB, having over 300 copies of the variable, while its usual size is ~10k.