js: Bug in case sensitivity in globals
Posted: 05 Feb 2012, 00:30
Javascript is supposed to be case sensitive. However, since the key value in the ini file format is case insensitive, and we use the variable name as key when saving, any variable used in global must be case insensitive for now. Otherwise variables will get wrong values when loaded from a savegame. There is no need to be case insensitive in regards to variables defined by the c++ code, only internally to your own script.
I will fix this problem later. For now, just be aware of the problem.
I will fix this problem later. For now, just be aware of the problem.