aboutsummaryrefslogtreecommitdiff
path: root/go/game/player.go
diff options
context:
space:
mode:
Diffstat (limited to 'go/game/player.go')
-rw-r--r--go/game/player.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/go/game/player.go b/go/game/player.go
index efffc295..89423b93 100644
--- a/go/game/player.go
+++ b/go/game/player.go
@@ -66,7 +66,7 @@ func (p *Player) UpkeepCost() int {
if u.Controller() != p {
continue
}
- cost += u.upkeep
+ cost += u.UpkeepCost()
}
return cost
}