diff options
| author | Florian Fischer <florian.fischer@muhq.space> | 2023-02-26 11:16:38 +0100 |
|---|---|---|
| committer | Florian Fischer <florian.fischer@muhq.space> | 2025-08-20 15:57:07 +0200 |
| commit | 57ab906c7eae59655334bb9afd259714ffbc2a8b (patch) | |
| tree | 70a36b62c862efb5764ba6f2605c6fe04b973a1a | |
| parent | c14fd9ffd1525bab87a504daf7ac133df02a5527 (diff) | |
| download | muhqs-game-57ab906c7eae59655334bb9afd259714ffbc2a8b.tar.gz muhqs-game-57ab906c7eae59655334bb9afd259714ffbc2a8b.zip | |
implement playTargets for tentacleSlapImpl to fix segfault
| -rw-r--r-- | go/game/cardImplementations.go | 2 |
1 files changed, 2 insertions, 0 deletions
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 { |
