aboutsummaryrefslogtreecommitdiff
path: root/src/deck.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/deck.js')
-rw-r--r--src/deck.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/deck.js b/src/deck.js
index 6147c77..7b01103 100644
--- a/src/deck.js
+++ b/src/deck.js
@@ -15,7 +15,7 @@ function sanitizeDeck(cardCnt, deck) {
let ret = [];
for (let id of deck) {
if (altId[id] !== undefined) {
- id = altId[id];
+ id = String(altId[id]);
}
if (cardDb[id] === undefined) {
continue;