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,12 +243,12 @@ impl Game {
if supply || provinces {
self.state = GameState::Over;
}
for p in self.players.iter_mut() {
p.draw_pile.append(&mut p.played_cards);
p.draw_pile.append(&mut p.hand);
p.draw_pile.append(&mut p.discard_pile);
for p in self.players.iter_mut() {
p.draw_pile.append(&mut p.played_cards);
p.draw_pile.append(&mut p.hand);
p.draw_pile.append(&mut p.discard_pile);
}
}
}