feat: bots : quit on match end

This commit is contained in:
Henri Bourcereau 2025-01-30 17:42:29 +01:00
parent 6478f5043d
commit 33e77ff095
3 changed files with 5 additions and 2 deletions

View file

@ -38,9 +38,10 @@ impl App {
})
.unwrap_or_default();
let schools_enabled = false;
let should_quit = bot_strategies.len() > 1;
Self {
game: GameRunner::new(schools_enabled, bot_strategies, args.seed.map(|s| s as u64)),
should_quit: false,
should_quit,
schools_enabled,
}
}