I have a class called 'DataReference' which has a number of static variables which are accessed by various classes throughout program execution.
I have one variable 'public static int particlePercent = 100;' which can only be altered from the main menu activity's 'SettingView' activity.
However, when exiting the main menu activity's 'GameView' activity, the 'particlePercent' variable is always reset to 100, even though the value may have been edited from 'SettingView'.
I expect the variable to remain the same as it is static and not edited anywhere but the 'SettingView' activity.
Please let me know if you have any idea what might be going on, or if I need to provide further clarification on the situation.
Thanks.