Skip to content

Commit

Permalink
fix discards
Browse files Browse the repository at this point in the history
  • Loading branch information
evanofslack committed Dec 27, 2024
1 parent 5893427 commit c37e8fb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/src/game.rs
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@ impl Game {
return Err(GameError::NoRemainingDiscards);
}
self.discards -= 1;
self.discarded.extend(self.available.selected());
let removed = self.available.remove_selected();
self.draw(removed);
return Ok(());
Expand Down

0 comments on commit c37e8fb

Please sign in to comment.