TStand90/roguelike_tutorial_revised

Loading a save is busted.

Opened this issue · 2 comments

It seems that loading a save doesnt work. Im not sure of the exact cause. Will dig through the code.

Does it provide any error? I'm able to save and load in my branch. Are you on any particular step?

I should note that I did have some problems until I made some small adjustments to data_loaders.py

with shelve.open('savegame', 'n') as data_file:
...
with shelve.open('savegame', 'r') as data_file:

I had to remove the .dat from the open, as it seemed to be adding it automatically, causing the file to be called savegame.dat.dat

related to #15