mirror of
https://codeberg.org/icewind/tf-log-parser.git
synced 2026-11-30 04:40:47 +01:00
even more edge cases
This commit is contained in:
parent
2dcd691f66
commit
b01029ddde
4 changed files with 93 additions and 60 deletions
|
|
@ -32,7 +32,7 @@ impl GlobalData for HighestDamageHandler {
|
|||
..
|
||||
}) = event
|
||||
{
|
||||
let damage = damage.get();
|
||||
let damage = *damage as u32;
|
||||
match &mut self.current {
|
||||
Some((_, current_damage)) if damage > *current_damage => {
|
||||
self.current = Some((subject, damage))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue