diff options
| author | Florian Fischer <florian.fischer@muhq.space> | 2023-02-05 23:14:19 +0100 |
|---|---|---|
| committer | Florian Fischer <florian.fischer@muhq.space> | 2025-08-20 15:46:40 +0200 |
| commit | e3e6955b60c909b6e84a233b547d08912a61a2ac (patch) | |
| tree | bd18295e4ff30e637d1a6fae0ac532aec6a475bd /go/game/state.go | |
| parent | 8c3456f5a120a00f8a4e89065d7d50f2c1b4ad0d (diff) | |
| download | muhqs-game-e3e6955b60c909b6e84a233b547d08912a61a2ac.tar.gz muhqs-game-e3e6955b60c909b6e84a233b547d08912a61a2ac.zip | |
fix some warnings reported by golang-ci
Diffstat (limited to 'go/game/state.go')
| -rw-r--r-- | go/game/state.go | 2 |
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) |
