diff options
Diffstat (limited to 'go/game/state.go')
| -rw-r--r-- | go/game/state.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/go/game/state.go b/go/game/state.go index 9baaea5f..a9c2f638 100644 --- a/go/game/state.go +++ b/go/game/state.go @@ -410,6 +410,10 @@ func (s *LocalState) declareAction(a Action) { } } +func (s *LocalState) counterAction(a Action) { + s.stack.remove(a) +} + func (s *LocalState) orderTriggeredActions(triggeredActions []*TriggeredAction) []Action { // Sort triggers by their controller playerActions := make(map[*Player][]*TriggeredAction) |
