print when bot file finishes writing

This commit is contained in:
Quaternions 2025-01-21 04:50:34 -08:00
parent 4c11980989
commit ad9ef141bf

View File

@ -300,6 +300,7 @@ impl InstructionConsumer<Instruction<'_>> for Session{
std::fs::create_dir_all("replays").unwrap(); std::fs::create_dir_all("replays").unwrap();
let file=std::fs::File::create(file_name).unwrap(); let file=std::fs::File::create(file_name).unwrap();
strafesnet_snf::bot::write_bot(std::io::BufWriter::new(file),crate::physics::VERSION.get(),replay.recording.instructions).unwrap(); strafesnet_snf::bot::write_bot(std::io::BufWriter::new(file),crate::physics::VERSION.get(),replay.recording.instructions).unwrap();
println!("Finished writing bot file!");
}); });
}, },
} }