Don't include second faction if the card type doesn't have it
This commit is contained in:
parent
25b4628348
commit
2b40a70299
|
@ -139,7 +139,8 @@ if (subtitle && subtitle != '') {
|
|||
card_data.subname = subtitle;
|
||||
}
|
||||
|
||||
if (Component.settings.get('CardClass2') != 'None') {
|
||||
var faction2 = Component.settings.get('CardClass2');
|
||||
if (faction2 && faction2 != 'None') {
|
||||
card_data.faction2_code = String(Component.settings.get('CardClass2')).toLowerCase();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue