mirror of
https://codeberg.org/icewind/tf-log-parser.git
synced 2026-11-30 04:40:47 +01:00
more edge case handling
This commit is contained in:
parent
a30a3d3683
commit
f1213a5664
5 changed files with 15 additions and 9 deletions
|
|
@ -18,7 +18,7 @@ pub struct ShotHitEvent<'a> {
|
|||
#[derive(Debug, Event)]
|
||||
pub struct DamageEvent<'a> {
|
||||
#[event(name = "against")]
|
||||
pub target: RawSubject<'a>,
|
||||
pub target: Option<RawSubject<'a>>,
|
||||
pub damage: Option<NonZeroU32>,
|
||||
#[event(name = "realdamage")]
|
||||
pub real_damage: Option<NonZeroU32>,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue