Patched in HailMary, Updated the gamelog.

This commit is contained in:
Cutieguwu
2025-04-10 19:53:05 -04:00
parent b146fd2658
commit 503105f1c1
5 changed files with 372 additions and 2 deletions

2
gamelog/Cargo.lock generated
View File

@@ -19,7 +19,7 @@ dependencies = [
[[package]]
name = "gamelog"
version = "0.6.0"
version = "0.6.1"
dependencies = [
"ron",
"semver",

View File

@@ -1,6 +1,6 @@
[package]
name = "gamelog"
version = "0.6.0"
version = "0.6.1"
edition = "2024"
[dependencies]

View File

@@ -5,6 +5,7 @@ pub enum Action {
CrackStudentBodyRightTackle,
Curls,
FleaFlicker,
HailMary,
HalfbackSlam,
HalfbackSlipScreen,
HalfbackSweep,

View File

@@ -46,6 +46,8 @@ impl Game {
let events = self
.periods
.iter()
// TOTALLY BORKED.
// BREAKS IF THE TEAMS ARE UNKNOWN, NEEDS FIXING.
.filter_map(|period| Some(period.team_events(team.to_owned(), None).ok().unwrap()))
.collect::<Vec<Vec<Event>>>()
.concat();