diff options
Diffstat (limited to 'go/game/costs.go')
| -rw-r--r-- | go/game/costs.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/go/game/costs.go b/go/game/costs.go index 38064e8c..daa2c213 100644 --- a/go/game/costs.go +++ b/go/game/costs.go @@ -54,8 +54,8 @@ func (c *ResourceCosts) Costs(s *LocalState, choosenVariadicCosts ...int) int { func ParseCardResourceCosts(_costs any, effects []string) *ResourceCosts { switch c := _costs.(type) { - case int: - return &ResourceCosts{fixed: c} + case uint64: + return &ResourceCosts{fixed: int(c)} case string: costs := ParseResourceCosts(c) if !costs.IsVariadic() { |
