Closed geraintwhite closed 8 years ago
Or just make it error nicely, as hopefully master-style saves won't be around much longer.
Should we store a save version in the meta and rely on that when opening the meta?
Probably
Or perhaps we should go back to checking the whole map on load?
No, I don't like that idea. This is not that big of a problem, once we merge multiplayer it will hardly ever happen. I think just recording the save version with the save and checking we can load that version is good enough.
This will actually be quite messy because the message will have to travel from saves.py
-> Game
-> Server
-> LocalInterface
. Currently the Game
doesn't have a reference to Server
, which is the first layer that can directly show an error.
Maybe we need a more robust system for sending errors from the back-end to the game loop
There is no compatibility for saves between miltiplayer and master. Perhaps we should add some, or at least a converter.