diff options
Diffstat (limited to 'go/game/stack.go')
| -rw-r--r-- | go/game/stack.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/go/game/stack.go b/go/game/stack.go index c119e81c..78a5ff41 100644 --- a/go/game/stack.go +++ b/go/game/stack.go @@ -33,6 +33,11 @@ func (s *Stack) pop() { err := s.gameState.ValidateAction(a) if err == nil { a.Resolve(s.gameState) + // Some action may be reused like full actions of permanents. + // Reset their target selection to allow possible reuse. + if t := a.Targets(); t != nil { + t.ClearSelections() + } } log.Println("Resolved", a, err) s.gameState.broadcastNotification(newResolvedActionNotification(a, err)) |
