Add set symbols for MKM, MKC, OTJ, OTC

This commit is contained in:
Josh birnholz
2024-03-26 16:06:24 -04:00
parent 26c9857534
commit 01d11c54ab
17 changed files with 1 additions and 1 deletions

View File

@@ -4282,7 +4282,7 @@ function fetchSetSymbol() {
uploadSetSymbol('https://api.hexproof.io/symbols/set/' + setCode + '/' + setRarity, 'resetSetSymbol');
} else {
var extension = 'svg';
if (['moc', 'ltr', 'ltc', 'cmm', 'who', 'scd', 'woe', 'wot', 'woc', 'lci', 'lcc'].includes(setCode.toLowerCase())) {
if (['moc', 'ltr', 'ltc', 'cmm', 'who', 'scd', 'woe', 'wot', 'woc', 'lci', 'lcc', 'mkm', 'mkc', 'otj', 'otc'].includes(setCode.toLowerCase())) {
extension = 'png';
}
if (setSymbolAliases.has(setCode.toLowerCase())) setCode = setSymbolAliases.get(setCode.toLowerCase());