16
Resolved Questions / Why does Number values from Lists turn to Objects? (ANSWERED)
« on: January 18, 2012, 04:17:51 pm »
Hello there,
I am currently getting troubled by the values of a Game attribute of the "List" type. Their default values are all numbers and set to 15.
My code do not change this Game atributte but then, when the game saves and loads again, the values are not set to 15. A print of the values returns "[object Object]"
Do anyone knows why?
Thanks in advance
I am currently getting troubled by the values of a Game attribute of the "List" type. Their default values are all numbers and set to 15.
My code do not change this Game atributte but then, when the game saves and loads again, the values are not set to 15. A print of the values returns "[object Object]"
Do anyone knows why?
Thanks in advance