made corredors easier to move

This commit is contained in:
grimsace
2026-05-21 10:20:43 -05:00
parent 336a91fbe9
commit 66f35a0f7a
4 changed files with 130 additions and 97 deletions
+1
View File
@@ -96,6 +96,7 @@ impl Default for DungeonApp {
impl Drop for DungeonApp {
// Cleans up background resources when the app is dropped.
fn drop(&mut self) {
self.settings.overlay_level_index = None;
if let Err(err) = settings::save_settings(&self.settings) {
eprintln!("Failed to save settings: {err}");
}