aboutsummaryrefslogtreecommitdiff
path: root/go
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fischer@muhq.space>2023-02-26 11:16:38 +0100
committerFlorian Fischer <florian.fischer@muhq.space>2025-01-27 16:43:52 +0100
commit4d33d8b637211aaa3e0adfda68e363e64f90623f (patch)
tree444f582ba656dfcdb545a9fc69efdb5ee0ab946c /go
parentacb23943290d9325f8cc7ec8fd22e4a49a08f9c3 (diff)
downloadmuhqs-game-4d33d8b637211aaa3e0adfda68e363e64f90623f.tar.gz
muhqs-game-4d33d8b637211aaa3e0adfda68e363e64f90623f.zip
implement playTargets for tentacleSlapImpl to fix segfault
Diffstat (limited to 'go')
-rw-r--r--go/game/cardImplementations.go2
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 {