finish games when finishing idle instances

This commit is contained in:
ntr
2020-02-10 13:19:44 +10:00
parent 36b5b5088b
commit 9ed191d9ae
2 changed files with 8 additions and 1 deletions
+1 -1
View File
@@ -804,7 +804,7 @@ impl Game {
}
}
fn finish(mut self) -> Game {
pub fn finish(mut self) -> Game {
self.phase = Phase::Finished;
// self.log.push(format!("Game finished."));