Skip to content

Commit

Permalink
TEST: Log number of identified headers, just in case.
Browse files Browse the repository at this point in the history
  • Loading branch information
magicaldave committed Oct 15, 2024
1 parent 5defb03 commit 387060b
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,12 @@ fn create_header_if_missing(plugin: &mut Plugin) {
// Later during serialization, we should make sure to include author and header info.
plugin.objects.push(esp::TES3Object::Header(header));
}
_ => {}
_ => {
println!(
"Plugin was found to already have {} header records",
plugin.objects_of_type::<esp::Header>().count()
)
}
}
}

Expand Down

0 comments on commit 387060b

Please sign in to comment.