aboutsummaryrefslogtreecommitdiff
path: root/go/game/state.go
diff options
context:
space:
mode:
Diffstat (limited to 'go/game/state.go')
-rw-r--r--go/game/state.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/go/game/state.go b/go/game/state.go
index 744f0b11..87e2133a 100644
--- a/go/game/state.go
+++ b/go/game/state.go
@@ -381,6 +381,8 @@ func (s *State) resolvePlay(p *Player, c *Card, targets *Targets) {
case CardTypes.Artifact:
tile := targets.sel[0].(*Tile)
s.AddNewArtifact(c, tile.Position, p)
+ case CardTypes.Spell:
+ c.Impl.onPlay(s, p, targets)
default:
log.Printf("Resolving unhandled card type: %s\n", c.Type.String())
}