diff options
Diffstat (limited to 'tools')
-rw-r--r-- | tools/gendata.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/gendata.js b/tools/gendata.js index 1b451c4..36b42cf 100644 --- a/tools/gendata.js +++ b/tools/gendata.js @@ -298,7 +298,8 @@ function process_card(c) { if (c.pursuit) { if (c.actions[0].type !== "Attack" && c.actions[0].type !== "Counterattack") throw new Error("PURSUIT without Attack or Counterattack as first action") - if (c.actions[0].target_list.length !== 1) throw new Error("PURSUIT with more than one target!") + if (c.actions[0].target_list.length !== 1) + throw new Error("PURSUIT with more than one target!") c.pursuit = c.actions[0].target_list[0] } if (c.reserve) |