Skip to content

Commit

Permalink
handle gamedata errors
Browse files Browse the repository at this point in the history
  • Loading branch information
shiburizu committed Dec 27, 2021
1 parent c936114 commit 640fd23
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion gamedata.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ def save_config():
game_config[indexes.REPLAY_SAVE] = 1
else:
game_config[indexes.REPLAY_SAVE] = 0
except KeyError:
except:
pass
except TypeError:
pass #probably some other issue preventing caster_config from populating
save_config()

0 comments on commit 640fd23

Please sign in to comment.