summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-04-22 23:14:33 +0200
committerTor Andersson <tor@ccxvii.net>2023-05-03 18:48:16 +0200
commit0d0f0897adf3de5fc83b4d30099528b29a7bdad5 (patch)
tree294f4a3c2086ff6700e24d8640a016bdbeea29c2 /rules.js
parent8148bf409dc791bf455d91128ec6d1d515011d2e (diff)
downloadandean-abyss-0d0f0897adf3de5fc83b4d30099528b29a7bdad5.tar.gz
Silly typo in Assault op targeting specific faction.
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/rules.js b/rules.js
index 98ffb42..74757f6 100644
--- a/rules.js
+++ b/rules.js
@@ -3667,9 +3667,9 @@ states.assault_space = {
view.prompt = `Assault: Remove ${game.op.count} enemy pieces in ${space_name[game.op.where]}.`
view.where = game.op.where
- if (game.faction === FARC) {
+ if (game.op.faction === FARC) {
gen_exposed_piece(game.op.where, FARC)
- } else if (game.faction === AUC) {
+ } else if (game.op.faction === AUC) {
gen_exposed_piece(game.op.where, AUC)
} else {
if (!has_momentum(MOM_SENADO_FARC))