Fix PAT notation and Touchdown notations. Backwards compatible w/ v3.0.0 if
`implicit_some` enabled in RON log and no PAT specified within.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
use crate::{Play, ScoreChange, Team, TerrainState};
|
||||
use crate::{Play, Team, TerrainState};
|
||||
|
||||
use serde::Deserialize;
|
||||
|
||||
@@ -10,5 +10,13 @@ pub enum Event {
|
||||
Kickoff(Offence),
|
||||
Turnover(Offence),
|
||||
Penalty(TerrainState),
|
||||
ScoreChange(ScoreChange),
|
||||
Score(u8),
|
||||
Pat(PatPoints),
|
||||
}
|
||||
|
||||
#[derive(Debug, Deserialize, Clone, PartialEq)]
|
||||
pub enum PatPoints {
|
||||
Fail,
|
||||
One,
|
||||
Two,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user