mirror of
https://github.com/Investigamer/cardconjurer.git
synced 2025-07-27 05:14:53 -05:00
Fix Invocation P/T undefined import
This commit is contained in:
@@ -3552,6 +3552,7 @@ function changeCardIndex() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (card.text.pt && card.text.pt.text == undefined + '/' + undefined) {card.text.pt.text = '';}
|
if (card.text.pt && card.text.pt.text == undefined + '/' + undefined) {card.text.pt.text = '';}
|
||||||
|
if (card.text.pt && card.text.pt.text == undefined + '\n' + undefined) {card.text.pt.text = '';}
|
||||||
if (card.version.includes('planeswalker')) {
|
if (card.version.includes('planeswalker')) {
|
||||||
card.text.loyalty.text = cardToImport.loyalty || '';
|
card.text.loyalty.text = cardToImport.loyalty || '';
|
||||||
var planeswalkerAbilities = cardToImport.oracle_text.split('\n');
|
var planeswalkerAbilities = cardToImport.oracle_text.split('\n');
|
||||||
|
Reference in New Issue
Block a user