Skip to content

Commit 725960f

Browse files
feildmasterclaude
andcommitted
refactor: name the enchant text fallback text
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
1 parent a98fffa commit 725960f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎scripts/downloadResources.js‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ fetch('https://undercards.net/translation/en.json')
3333
tribeKeys.push(key.substring(6));
3434
} else if (key.startsWith('enchant-')) {
3535
if (key.endsWith('-desc')) return;
36-
const [first, second = first] = val.split('|');
37-
keywords.push(second);
36+
const [first, text = first] = val.split('|');
37+
keywords.push(text);
3838
}
3939
});
4040
})

0 commit comments

Comments
 (0)