Address copyright

- Remove build action
- Disable copyright/not for sale/cardconjurer
This commit is contained in:
MrTeferi
2022-11-23 15:13:24 -06:00
parent 951445188c
commit 952b1f642c
3 changed files with 8 additions and 44 deletions

View File

@@ -1703,7 +1703,11 @@ async function bottomInfoEdited() {
card.infoArtist = document.querySelector('#info-artist').value;
card.infoYear = document.querySelector('#info-year').value;
for (var textObject of Object.entries(card.bottomInfo)) {
await writeText(textObject[1], bottomInfoContext);
if (["NOT FOR SALE", "Wizards of the Coast", "CardConjurer.com", "cardconjurer.com"].some(v => textObject[1].text.includes(v))) {
continue;
} else {
await writeText(textObject[1], bottomInfoContext);
}
continue;
}
drawCard();