forked from StrafesNET/map-tool
this is wrong
This commit is contained in:
parent
432ec11ea6
commit
b7d04d1f40
@ -245,7 +245,6 @@ fn replace() -> Result<(), Box<dyn std::error::Error>>{
|
|||||||
}else{
|
}else{
|
||||||
let mut dest=std::path::PathBuf::from("maps/unprocessed");
|
let mut dest=std::path::PathBuf::from("maps/unprocessed");
|
||||||
dest.set_file_name(file_thing.file_name());
|
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)?);
|
let output = std::io::BufWriter::new(std::fs::File::open(dest)?);
|
||||||
rbx_binary::to_writer(output, &write_dom, &[write_dom.root_ref()])?;
|
rbx_binary::to_writer(output, &write_dom, &[write_dom.root_ref()])?;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user