From ea29271a1da388550f3089ff22d405502bdba7ea Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Fri, 15 Aug 2025 23:40:49 +0200 Subject: only show permActionPrompt if the stack is empty --- go/client/game.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/go/client/game.go b/go/client/game.go index dd8a9b39..d726e760 100644 --- a/go/client/game.go +++ b/go/client/game.go @@ -625,8 +625,9 @@ func (g *Game) handleSelection(obj any, x, y int) { } case game.Permanent: - perm := obj - g.addPermActionChoice(perm, x, y) + if g.gameState.Stack().IsEmpty() { + g.addPermActionChoice(obj, x, y) + } case ui.HandCard: if obj.C.IsPermanent() && !g.gameState.Stack().IsEmpty() { -- cgit v1.2.3