diff --git a/strange_eons_to_arkhamdb.js b/strange_eons_to_arkhamdb.js index d07015e..f4afc75 100644 --- a/strange_eons_to_arkhamdb.js +++ b/strange_eons_to_arkhamdb.js @@ -150,7 +150,7 @@ function build_card(component) { var faction2 = component.settings.get('CardClass2'); if (faction2 && faction2 != 'None') { - card_data.faction2_code = String(component.settings.get('CardClass2')).toLowerCase(); + card_data.faction2_code = String(faction2).toLowerCase(); } if (card_types[component.getFrontTemplateKey()] == 'enemy') {