diff --git a/js/creator-23.js b/js/creator-23.js index cef6192e..1205d5df 100644 --- a/js/creator-23.js +++ b/js/creator-23.js @@ -2286,7 +2286,7 @@ function writeText(textObject, targetContext) { rawText = params.get('copyright'); //so people using CC for custom card games without WotC's IP can customize their copyright info if (rawText == 'none') { rawText = ''; } } - if (rawText.toLowerCase().includes('{cardname}' || '~')) { + if (rawText.toLowerCase().includes('{cardname}') || rawText.toLowerCase().includes('~')) { rawText = rawText.replace(/{cardname}|~/ig, getCardName()); } if (document.querySelector('#info-artist').value == '') {