aboutsummaryrefslogtreecommitdiff
path: root/go/game/player.go
diff options
context:
space:
mode:
Diffstat (limited to 'go/game/player.go')
-rw-r--r--go/game/player.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/go/game/player.go b/go/game/player.go
index 7a72e111..b6521d50 100644
--- a/go/game/player.go
+++ b/go/game/player.go
@@ -99,7 +99,7 @@ func (p *Player) DiscardCard(c *Card) {
}
func (p *Player) DiscardPhase() {
- cards := p.PromptHandCardSelection(0, p.Deck.Size())
+ cards := p.PromptHandCardSelection(0, p.Hand.Size())
for _, c := range cards {
p.DiscardCard(c)
}