gilmore606 / ure

the unRogueEngine
MIT License
122 stars 12 forks source link

Crash if there is no saves directory #112

Closed melville closed 5 years ago

melville commented 5 years ago

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.

melville commented 5 years ago

Fixed by adding a call to mkdirs() before saving.