From 1a2ee6899d8243c5f55f48fe48ef73f3f2507e35 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Sun, 5 Feb 2023 23:14:19 +0100 Subject: fix some warnings reported by golang-ci --- go/game/cardImplementations.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'go/game/cardImplementations.go') diff --git a/go/game/cardImplementations.go b/go/game/cardImplementations.go index be625211..99994a41 100644 --- a/go/game/cardImplementations.go +++ b/go/game/cardImplementations.go @@ -8,7 +8,7 @@ type advisorImplementation struct { cardImplementationBase } -func (impl *advisorImplementation) fullAction(u *Unit) []*FullAction { +func (impl *advisorImplementation) fullActions(u *Unit) []*FullAction { resolvePrototype := func(a Action) ActionResolveFunc { u := a.Source().(*Unit) return func(s *State) { @@ -27,7 +27,7 @@ type missionaryImplementation struct { cardImplementationBase } -func (impl *missionaryImplementation) fullAction(u *Unit) []*FullAction { +func (impl *missionaryImplementation) fullActions(u *Unit) []*FullAction { resolvePrototype := func(a Action) ActionResolveFunc { u := a.Source().(*Unit) target := a.Targets().sel[0].(*Unit) -- cgit v1.2.3