Khaligufzel / Dimensionfall

A survival game inspired by Cataclysm: Dark Days Ahead and Bright Nights.
MIT License
12 stars 5 forks source link

Mapeditor saves after every edit instead of after the save button #363

Closed snipercup closed 3 weeks ago

snipercup commented 4 weeks ago

Previously, when making an edit to the map in the map editor, the changes would only be saved after hitting the save button. Now, the changes are saved when making them, for example when painting tiles.

When closing and saving a map without pressing the save button, the changes you made come back even though you didn't save. However, if the application is restarted, the unsaved changes are gone.

I want to change it so unsaved changes are lost when hitting the close button without hitting the save button.