print when bot file finishes writing
This commit is contained in:
parent
4c11980989
commit
ad9ef141bf
@ -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!");
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user