From 5f3d99ca4ca9fc043b922b104f9e0e9105d79122 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Tue, 31 Jan 2023 00:42:05 +0100 Subject: fixup! intermediate commit --- go/game/player.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) } -- cgit v1.2.3