diff --git a/tools/ddw3-mkrlen/src/args.rs b/tools/ddw3-mkrlen/src/args.rs index d77302a9f..fd100a8a2 100644 --- a/tools/ddw3-mkrlen/src/args.rs +++ b/tools/ddw3-mkrlen/src/args.rs @@ -17,7 +17,7 @@ pub struct Args { /// Run in compatibility mode for file. /// - /// Expects a string of format `.`, + /// Expects a string of format `.`, /// for example, `S232.12` #[clap(long = "compatibility")] pub compatibility: Option, diff --git a/tools/ddw3-mkrlen/src/main.rs b/tools/ddw3-mkrlen/src/main.rs index a3eabf783..894e2c586 100644 --- a/tools/ddw3-mkrlen/src/main.rs +++ b/tools/ddw3-mkrlen/src/main.rs @@ -47,8 +47,8 @@ fn main() -> Result<(), anyhow::Error> { try { let map = args.input.parent()?.file_name()?.to_str()?.strip_suffix("PACK")?; - let map_part = args.input.file_prefix()?.to_str()?; - let compatibility = format!("{map}.{map_part}"); + let tile = args.input.file_prefix()?.to_str()?; + let compatibility = format!("{map}.{tile}"); tracing::info!(?compatibility, "Found auto-compatibility"); compatibility