From df43fa7333a9e2c54b2b4031e4356508222fda5d Mon Sep 17 00:00:00 2001 From: Adam Goldsmith Date: Wed, 8 Sep 2021 14:46:37 -0400 Subject: [PATCH] Use faction2 variable instead of retrieving setting again --- strange_eons_to_arkhamdb.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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') {