Fixed display of top card in waste
This commit is contained in:
1 parent
bcc493d5f9
commit
7e4cfc638b
1 file changed
+4
@@ -234,6 +234,7 @@ impl Klondike {
|
||||
self.current_num_passes_through_deck += 1;
|
||||
}
|
||||
}
|
||||
//pub fn move_one_stack_to_another(self, )
|
||||
}
|
||||
|
||||
impl Default for Klondike {
|
||||
@@ -250,6 +251,9 @@ impl Default for Klondike {
|
||||
piles[pile].push(c);
|
||||
}
|
||||
}
|
||||
for card in &mut deck.cards {
|
||||
card.visible = true;
|
||||
}
|
||||
Self {
|
||||
piles,
|
||||
deck: deck.cards,
|
||||
|
||||
Reference in new issue
Block a user