ChrisNeedham24 / microcosm

A little 4X game written using Pyxel.
GNU General Public License v3.0
9 stars 8 forks source link

Can't start games without achievements in statistics #136

Closed ChrisNeedham24 closed 1 year ago

ChrisNeedham24 commented 1 year ago

Not sure how I missed this, but if you try and start a game since the introduction of achievements, if you don't have the key in the JSON, you'll get a key error at line 106 in game_save_manager.py. Basically just make it an empty list if the key isn't there.