Fix end turn unintentional cleanup
This commit is contained in:
1 parent
e455c97c67
commit
b13205da34
1 file changed
+5
-5
+5
-5
@@ -243,12 +243,12 @@ impl Game {
|
|||||||
|
|
||||||
if supply || provinces {
|
if supply || provinces {
|
||||||
self.state = GameState::Over;
|
self.state = GameState::Over;
|
||||||
}
|
|
||||||
|
|
||||||
for p in self.players.iter_mut() {
|
for p in self.players.iter_mut() {
|
||||||
p.draw_pile.append(&mut p.played_cards);
|
p.draw_pile.append(&mut p.played_cards);
|
||||||
p.draw_pile.append(&mut p.hand);
|
p.draw_pile.append(&mut p.hand);
|
||||||
p.draw_pile.append(&mut p.discard_pile);
|
p.draw_pile.append(&mut p.discard_pile);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user