Typo on base export path #96
|
|
@ -16,7 +16,7 @@ pub struct MonsterConfig {
|
|||
pub target: MonsterTarget,
|
||||
|
||||
/// A special export path
|
||||
#[arg(long, default_value = "./Monsters")]
|
||||
#[arg(long, default_value = "./Bestiaire/")]
|
||||
pub destination: String,
|
||||
|
||||
/// Database to load from
|
||||
|
|
|
|||
|
|
@ -127,12 +127,12 @@ pub fn generate_monsters_tex(
|
|||
|
||||
if args.player || args.all {
|
||||
println!("Generating player bestiaire");
|
||||
let mut f = File::create(format!("{}/player_bestiaire.tex", args.destination))?;
|
||||
let mut f = File::create(format!("./{}/player_bestiaire.tex", args.destination))?;
|
||||
write!(f, "{}", player_out)?;
|
||||
}
|
||||
if args.master || args.all {
|
||||
println!("Generating master bestiaire");
|
||||
let mut f = File::create(format!("{}/master_bestiaire.tex", args.destination))?;
|
||||
let mut f = File::create(format!("./{}/master_bestiaire.tex", args.destination))?;
|
||||
write!(f, "{}", player_out)?;
|
||||
write!(f, "{}", master_out)?;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue