diff options
Diffstat (limited to 'go')
| -rw-r--r-- | go/client/game.go | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/go/client/game.go b/go/client/game.go index f4262f67..5689c88c 100644 --- a/go/client/game.go +++ b/go/client/game.go @@ -504,12 +504,17 @@ func (g *Game) updateButtons() { passButtonLabel := "pass" if g.prompt != nil { targets := g.prompt.Action().Targets() + target := targets.Cur() + // We still need a selection if targets.RequireSelection() { - if !targets.Cur().HasSelection() { + // The current target requires a selection + if target.RequireSelection() { g.hide(g.passButton) g.show(g.resetButton) return } + // The current target does not need further selections so we can + // offer to go to the next target. passButtonLabel = "next" } else { passButtonLabel = "confirm" |
