aboutsummaryrefslogtreecommitdiff
path: root/go
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fischer@muhq.space>2023-01-31 00:42:05 +0100
committerFlorian Fischer <florian.fischer@muhq.space>2025-01-27 16:43:45 +0100
commite4895887ebd21cbc1dc198da28bf7a930df89b82 (patch)
tree09340e092daedfb5b4d094f1664a5a03be2597e5 /go
parente6a1bb4ba06361abdc2cf1bed4041fe3013b188b (diff)
downloadmuhqs-game-e4895887ebd21cbc1dc198da28bf7a930df89b82.tar.gz
muhqs-game-e4895887ebd21cbc1dc198da28bf7a930df89b82.zip
fixup! intermediate commit
Diffstat (limited to '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)
}