reduced int parsing to persistObj[n]
Merge pull request #34 from l-l-l-l-l-l-l-l-l-l-l-l-l-l-l-l-l-l-l-l/master

reduced int parsing to persistObj[n] in _restoreState function