From fdcf4033d35220c0e5356f3cf2bcab5df7ff4f3b Mon Sep 17 00:00:00 2001 From: Kyle <41976328+ImKyle4815@users.noreply.github.com> Date: Mon, 11 Oct 2021 15:43:23 -0700 Subject: [PATCH] Update creator-23.js --- js/creator-23.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/js/creator-23.js b/js/creator-23.js index 4cbdc404..e2166951 100644 --- a/js/creator-23.js +++ b/js/creator-23.js @@ -727,8 +727,9 @@ function writeText(textObject, targetContext) { //Preps the text string var splitString = '6GJt7eL8'; var rawText = textObject.text - if (params.get('copyright') != null && (textObject.name == 'wizards' || textObject.name == 'copyright') && card.margins) { + if ((textObject.name == 'wizards' || textObject.name == 'copyright') && params.get('copyright') != null && (params.get('copyright') != '' || card.margins)) { 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}')) { rawText = rawText.replace(/{cardname}/ig, getCardName());