aboutsummaryrefslogtreecommitdiff
path: root/go/client
diff options
context:
space:
mode:
Diffstat (limited to 'go/client')
-rw-r--r--go/client/game.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/go/client/game.go b/go/client/game.go
index 50f0400b..6c2f41e0 100644
--- a/go/client/game.go
+++ b/go/client/game.go
@@ -502,6 +502,10 @@ func (g *Game) handleSelection(obj interface{}, x, y int) {
g.addPermActionChoice(perm, x, y)
case ui.HandCard:
+ if obj.C.IsPermanent() && !g.gameState.Stack().IsEmpty() {
+ return
+ }
+
if obj.C.PlayCosts.IsVariadic() {
g.addChoice(ui.NewNumberChoice(
g.Width-ui.NUMBER_CHOICE_WIDTH,