diff options
| author | Florian Fischer <florian.fischer@muhq.space> | 2024-03-26 18:59:22 +0100 |
|---|---|---|
| committer | Florian Fischer <florian.fischer@muhq.space> | 2025-01-27 16:43:56 +0100 |
| commit | d46eb8bca2c26121d71f9122bd9930104734519d (patch) | |
| tree | 9d533f3dc5589deadef5fe8f7aecac72d00c0a3c /go/game/player.go | |
| parent | f5e740230cc2ac034b98496f1c0715b3ed6cef27 (diff) | |
| download | muhqs-game-d46eb8bca2c26121d71f9122bd9930104734519d.tar.gz muhqs-game-d46eb8bca2c26121d71f9122bd9930104734519d.zip | |
implment upkeep costs using ResourceCosts
Diffstat (limited to 'go/game/player.go')
| -rw-r--r-- | go/game/player.go | 2 |
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 } |
