Closed geraintwhite closed 8 years ago
Doesn't work properly because it updates the meta file with the defaults each time, and includes the error parameter. Also, load_meta
is used for generating the saves list - so returning None
caused that to break.
So it only has problems with old saves which have been created before this code was added?
In terms of the format field, yes. But the error field is also saved to file.
On Mon, 8 Feb 2016 23:13 Oliver Faircliff notifications@github.com wrote:
So it only has problems with old saves which have been created before this code was added?
— Reply to this email directly or view it on GitHub https://github.com/itsapi/pycraft/pull/105#issuecomment-181614642.
Oh, I think we need a different way of sending the error through then.
Yes, but we need to make sure it still works for saves list.
Adds a format field to meta.json to make sure the save is compatible with the version of the game. Fixes #103