View Single Post
12/20/14, 11:00 AM   #17
Garkin
 
Garkin's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 832
Originally Posted by merlight View Post
@circonioan: I meant not included, sry; edited post



Both methods seem to work, AlphaTools uses two lines.



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.
I'm not sure if it is a bug. If you separate variable names by comma, it will behave as you have descrbed. But all items in addon manifest has to be space separated, there shouldn't be any other character.
  Reply With Quote