Skip to content

Commit

Permalink
Fix debug grid export
Browse files Browse the repository at this point in the history
  • Loading branch information
balazsdukai committed Jul 17, 2023
1 parent 0997f87 commit 7c2bfe0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
}
};

if cli.grid_export || log_enabled!(Level::Debug) {
if cli.grid_export {
info!("Exporting the grid to the working directory");
world.export_grid(cli.grid_export_features)?;
}
Expand Down

0 comments on commit 7c2bfe0

Please sign in to comment.