this is wrong

This commit is contained in:
Quaternions 2023-09-12 17:33:47 -07:00
parent 432ec11ea6
commit b7d04d1f40

View File

@ -245,7 +245,6 @@ fn replace() -> Result<(), Box<dyn std::error::Error>>{
}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()])?;
}