Fix end turn unintentional cleanup
This commit is contained in:
parent
e455c97c67
commit
b13205da34
10
src/main.rs
10
src/main.rs
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user