Fix end turn unintentional cleanup

This commit is contained in:
Markus Wagner 2021-01-06 19:00:13 +01:00
parent e455c97c67
commit b13205da34

View File

@ -243,7 +243,6 @@ impl Game {
if supply || provinces {
self.state = GameState::Over;
}
for p in self.players.iter_mut() {
p.draw_pile.append(&mut p.played_cards);
@ -251,6 +250,7 @@ impl Game {
p.draw_pile.append(&mut p.discard_pile);
}
}
}
fn is_active_player(&self, player_id: &str) -> bool {
match self.players.get(self.active_player) {