aboutsummaryrefslogtreecommitdiff
path: root/go/game/cardImplementations.go
diff options
context:
space:
mode:
Diffstat (limited to 'go/game/cardImplementations.go')
-rw-r--r--go/game/cardImplementations.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/go/game/cardImplementations.go b/go/game/cardImplementations.go
index 139e7665..161de212 100644
--- a/go/game/cardImplementations.go
+++ b/go/game/cardImplementations.go
@@ -212,6 +212,7 @@ func (*spearImpl) onPile(p Permanent) {
// FIXME: add
p.(*Unit).Attack.flexAttack = pikeAttack()
}
+
func (*spearImpl) onUnpile(p Permanent) {
// FIXME: restore flexAttack
p.(*Unit).Attack.flexAttack = nil