From 57ab906c7eae59655334bb9afd259714ffbc2a8b Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Sun, 26 Feb 2023 11:16:38 +0100 Subject: implement playTargets for tentacleSlapImpl to fix segfault --- go/game/cardImplementations.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'go') diff --git a/go/game/cardImplementations.go b/go/game/cardImplementations.go index 66c77b18..e33906f6 100644 --- a/go/game/cardImplementations.go +++ b/go/game/cardImplementations.go @@ -567,6 +567,8 @@ func (*supriseImpl) onPlay(s *State, _ *Card, kraken *Player, _ *Targets) { type tentacleSlapImpl struct{ cardImplementation } +func (*tentacleSlapImpl) playTargets() TargetDesc { return INVALID_TARGET_DESC } + func (*tentacleSlapImpl) onPlay(s *State, _ *Card, kraken *Player, _ *Targets) { x := 0 for _, p := range s.Players { -- cgit v1.2.3