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.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/go/game/cardImplementations.go b/go/game/cardImplementations.go
index b20b46bc..be625211 100644
--- a/go/game/cardImplementations.go
+++ b/go/game/cardImplementations.go
@@ -56,7 +56,7 @@ func (*swordImplementation) onPile(p Permanent) {
}
}
-func (*swordImplementation) onDrop(p Permanent) {
+func (*swordImplementation) onUnpile(p Permanent) {
if u, ok := p.(*Unit); ok && !INVALID_ATTACK(u.Attack) {
u.Attack.attacks[0] -= 1
}