Restore some stats readouts.
This commit is contained in:
@@ -4,7 +4,7 @@ use clap::{ArgAction, Parser};
|
||||
use core::panic;
|
||||
use gamelog::{Action, Down, Flags, Key, LogFile, Team, TerrainState};
|
||||
use std::{io, path::PathBuf, sync::mpsc, thread};
|
||||
//use strum::IntoEnumIterator;
|
||||
use strum::IntoEnumIterator;
|
||||
use tui::App;
|
||||
|
||||
#[derive(Debug, Parser)]
|
||||
@@ -89,7 +89,6 @@ fn main() -> io::Result<()> {
|
||||
.push(game.penalties(team.to_owned()));
|
||||
}
|
||||
|
||||
/*
|
||||
for team in gamelog::Team::iter() {
|
||||
let team_idx = stats
|
||||
.iter()
|
||||
@@ -105,7 +104,6 @@ fn main() -> io::Result<()> {
|
||||
|
||||
//stats[team_idx].play_frequencies = Some(log.frequency_of_plays(team.to_owned()))
|
||||
}
|
||||
*/
|
||||
}
|
||||
|
||||
// :#? for pretty-printing.
|
||||
|
||||
Reference in New Issue
Block a user