diff options
Diffstat (limited to 'go')
| -rw-r--r-- | go/game/costs.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/go/game/costs.go b/go/game/costs.go index 9fc40fcb..6bdb98f2 100644 --- a/go/game/costs.go +++ b/go/game/costs.go @@ -18,7 +18,7 @@ func (c *ResourceCosts) IsVariadic() bool { func ParseResourceCosts(costsStr string) *ResourceCosts { costs := ResourceCosts{} - for c := range costsStr { + for _, c := range costsStr { if c == 'X' { costs.variadicComponents += 1 } |
