diff options
| author | Florian Fischer <florian.fischer@muhq.space> | 2023-01-31 00:42:05 +0100 |
|---|---|---|
| committer | Florian Fischer <florian.fischer@muhq.space> | 2023-01-31 00:42:05 +0100 |
| commit | 5f3d99ca4ca9fc043b922b104f9e0e9105d79122 (patch) | |
| tree | b7b53cb1a658b34b464a9c3abe706f14826f74ac | |
| parent | d76117cc913c738002c7562189ada75748645ff1 (diff) | |
| download | muhqs-game-5f3d99ca4ca9fc043b922b104f9e0e9105d79122.tar.gz muhqs-game-5f3d99ca4ca9fc043b922b104f9e0e9105d79122.zip | |
fixup! intermediate commit
| -rw-r--r-- | go/game/player.go | 2 |
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) } |
