aboutsummaryrefslogtreecommitdiff
path: root/go/game/card.go
diff options
context:
space:
mode:
Diffstat (limited to 'go/game/card.go')
-rw-r--r--go/game/card.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/go/game/card.go b/go/game/card.go
index fe7f6ca8..bdacd51b 100644
--- a/go/game/card.go
+++ b/go/game/card.go
@@ -9,7 +9,7 @@ import (
"strconv"
"strings"
- "gopkg.in/yaml.v3"
+ "github.com/goccy/go-yaml"
"muhq.space/muhqs-game/go/assets"
"muhq.space/muhqs-game/go/log"
)
@@ -295,8 +295,8 @@ func (card *Card) getCanonicalValues(key string) []string {
}
case string:
values = []string{typedValues}
- case int:
- values = []string{strconv.Itoa(typedValues)}
+ case uint64:
+ values = []string{strconv.Itoa(int(typedValues))}
case []string:
values = typedValues
}