feat: bots : quit on match end
This commit is contained in:
parent
6478f5043d
commit
33e77ff095
3 changed files with 5 additions and 2 deletions
|
|
@ -101,7 +101,6 @@ impl GameRunner {
|
|||
}
|
||||
|
||||
if let Some(winner) = self.state.determine_winner() {
|
||||
// panic!("WE HAVE A WINNER!");
|
||||
next_event = Some(store::GameEvent::EndGame {
|
||||
reason: store::EndGameReason::PlayerWon { winner },
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue