Add CMM set symbol

This commit is contained in:
Josh birnholz
2023-07-11 19:35:51 -04:00
parent dda94ec900
commit 93ff2adbe5
5 changed files with 1 additions and 1 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

View File

@@ -3169,7 +3169,7 @@ function fetchSetSymbol() {
uploadSetSymbol('http://gatherer.wizards.com/Handlers/Image.ashx?type=symbol&set=' + setCode + '&size=large&rarity=' + setRarity, 'resetSetSymbol'); uploadSetSymbol('http://gatherer.wizards.com/Handlers/Image.ashx?type=symbol&set=' + setCode + '&size=large&rarity=' + setRarity, 'resetSetSymbol');
} else { } else {
var extension = 'svg'; var extension = 'svg';
if (['moc', 'ltr', 'ltc'].includes(setCode.toLowerCase())) { if (['moc', 'ltr', 'ltc', 'cmm'].includes(setCode.toLowerCase())) {
extension = 'png'; extension = 'png';
} }
if (setSymbolAliases.has(setCode.toLowerCase())) setCode = setSymbolAliases.get(setCode.toLowerCase()); if (setSymbolAliases.has(setCode.toLowerCase())) setCode = setSymbolAliases.get(setCode.toLowerCase());