mirror of
https://codeberg.org/icewind/tf-log-parser.git
synced 2026-06-04 02:34:10 +02:00
more edge case handling
This commit is contained in:
parent
a30a3d3683
commit
f1213a5664
5 changed files with 15 additions and 9 deletions
|
|
@ -93,7 +93,7 @@ impl EventHandler for ClassStatsHandler {
|
|||
}
|
||||
GameEvent::Damage(DamageEvent {
|
||||
damage: Some(damage),
|
||||
target,
|
||||
target: Some(target),
|
||||
..
|
||||
}) if self.active => {
|
||||
if let Some(target_class) = self.get_class(target) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue