Crash if there is no saves directory
melville opened this issue · comments
If you pull the code and start from scratch, there is no saves directory and the app will crash as soon as it tries to save a region. We need to add a bit of code to create that directory if it doesn't exist.
Fixed by adding a call to mkdirs() before saving.