Add a warning counter

This commit is contained in:
2025-05-22 09:06:55 +08:00
parent 795832fd3c
commit f64a702ef5
5 changed files with 22 additions and 8 deletions

View File

@@ -248,6 +248,7 @@ impl Script for CircusMesScript {
println!(
"Warning: Some replacements cannot used in current encoding. Ruby text may be broken."
);
crate::COUNTER.inc_warning();
}
}
let mut buffer = Vec::with_capacity(self.data.len());