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

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();