Page 1 of 1

[0.7.1] Crash on Load with empty folder in saves

Posted: Mon Oct 14, 2013 7:55 am
by Heinrich
The game crashes while trying to load a savegame and there is an (non-savegame) sub folder in the "saves" folder.

To reproduce:

- create an empty subfolder in the "saves" folder
- start the game
- click the "load" button
---> crash

Re: [0.7.1] Crash on Load

Posted: Wed Oct 16, 2013 12:22 am
by kovarex
This is more of a feature request for directory listing in saves folder than a bug (the game actually says something like it couldn't open the level.dat).

Re: [0.7.1] Crash on Load

Posted: Wed Oct 16, 2013 2:15 pm
by Heinrich
Yes indeed, but it shouldn't stop running at this point.

Re: [0.7.1] Crash on Load with empty folder in saves

Posted: Fri Oct 18, 2013 5:54 am
by SilverWarior
kovarex wrote:This is more of a feature request for directory listing in saves folder than a bug (the game actually says something like it couldn't open the level.dat).
I recomend the game should check first to see if file level.dat exists in such folder. if it does the folder is considered as valid save folder if not it is simply skipped.

Re: [0.7.1] Crash on Load with empty folder in saves

Posted: Fri Oct 18, 2013 6:17 pm
by kovarex
Fixed for 0.7.3