aboutsummaryrefslogtreecommitdiff
path: root/go/game/state.go
diff options
context:
space:
mode:
Diffstat (limited to 'go/game/state.go')
-rw-r--r--go/game/state.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/go/game/state.go b/go/game/state.go
index 35aeb342..744f0b11 100644
--- a/go/game/state.go
+++ b/go/game/state.go
@@ -220,7 +220,7 @@ func (s *State) pushAction(a Action) {
}
func (s *State) DeclareAction(a Action) {
- var err error = nil
+ var err error
err = a.CheckTargets(s)