From 4baa3bd688b6572210a911fef5b93ffe32d9c9ed Mon Sep 17 00:00:00 2001 From: Dandaedre Date: Fri, 17 Jul 2026 03:02:59 +0200 Subject: [PATCH] Typo on base export path --- crates/config/src/monsters.rs | 2 +- crates/monsters/src/monster_export.rs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/crates/config/src/monsters.rs b/crates/config/src/monsters.rs index 29caf04..2c0a481 100644 --- a/crates/config/src/monsters.rs +++ b/crates/config/src/monsters.rs @@ -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 diff --git a/crates/monsters/src/monster_export.rs b/crates/monsters/src/monster_export.rs index 5423263..ad4b01b 100644 --- a/crates/monsters/src/monster_export.rs +++ b/crates/monsters/src/monster_export.rs @@ -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)?; } -- 2.45.1