aboutsummaryrefslogtreecommitdiff
path: root/go/client
diff options
context:
space:
mode:
Diffstat (limited to 'go/client')
-rw-r--r--go/client/game.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/go/client/game.go b/go/client/game.go
index 4402d1ea..19677ea5 100644
--- a/go/client/game.go
+++ b/go/client/game.go
@@ -240,7 +240,7 @@ func (g *Game) addPermActionChoice(perm game.Permanent, x, y int) {
}
func (g *Game) declareOrPromptTargets(a game.Action) {
- if a.Targets() != nil && a.Targets().RequireSelection() {
+ if a.Targets() != nil && a.Targets().AllowSelection() {
g.addCancelablePrompt(a, fmt.Sprintf("Select targets for %v", a))
} else {
g.declareAction(a)