From b7d04d1f40101213ac37994b14c39bad7478a19e Mon Sep 17 00:00:00 2001 From: Quaternions Date: Tue, 12 Sep 2023 17:33:47 -0700 Subject: [PATCH] this is wrong --- src/main.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 9dfe3ae..9430207 100644 --- a/src/main.rs +++ b/src/main.rs @@ -245,7 +245,6 @@ fn replace() -> Result<(), Box>{ }else{ let mut dest=std::path::PathBuf::from("maps/unprocessed"); dest.set_file_name(file_thing.file_name()); - dest.set_extension("rbxl");//extension is always rbxl even if source file is extensionless let output = std::io::BufWriter::new(std::fs::File::open(dest)?); rbx_binary::to_writer(output, &write_dom, &[write_dom.root_ref()])?; }