diff --git a/strange_eons_to_arkhamdb.js b/strange_eons_to_arkhamdb.js index f262996..8183286 100644 --- a/strange_eons_to_arkhamdb.js +++ b/strange_eons_to_arkhamdb.js @@ -254,9 +254,9 @@ const cards = []; for (let member in recurseAllChildren(Eons.getOpenProject())) { try { if (ProjectUtilities.matchExtension(member, "eon")) { - printf("Generating JSON/PNG for '%s'...\n", member); let component = ResourceKit.getGameComponentFromFile(member.getFile()); if (component.getFrontTemplateKey() in card_types) { + printf("Generating JSON/PNG for '%s'...\n", member); let card_data = build_card(component); cards.push(card_data);