diff --git a/Cargo.toml b/Cargo.toml index efad03b..d0cfcbb 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,7 +4,7 @@ authors = ["spuds"] repository = "https://github.com/bananaturtlesandwich/stove" description = "an editor for cooked unreal engine 4 map files" readme = "README.md" -version = "0.7.1" +version = "0.7.2" edition = "2021" [dependencies] diff --git a/src/lib.rs b/src/lib.rs index 2466979..857f2ce 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -613,7 +613,7 @@ impl EventHandler for Stove { self.save_dialog.show(ctx); if self.save_dialog.selected() { if let Some(path) = self.save_dialog.path() { - self.filepath = path.to_str().unwrap_or_default().to_string(); + self.filepath = path.with_extension("umap").to_str().unwrap_or_default().to_string(); self.save() } }