summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rules.js10
1 files changed, 4 insertions, 6 deletions
diff --git a/rules.js b/rules.js
index 6506e85..a84e297 100644
--- a/rules.js
+++ b/rules.js
@@ -3678,8 +3678,8 @@ states.sweep_activate = {
gen_govt_special_activity()
- if (game.op.faction === FARC) {
- gen_underground_guerrillas(game.op.where, FARC)
+ if (game.op.faction) {
+ gen_underground_guerrillas(game.op.where, game.op.faction)
} else {
if (!has_momentum(MOM_SENADO_FARC))
gen_underground_guerrillas(game.op.where, FARC)
@@ -3905,10 +3905,8 @@ 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.op.faction === FARC) {
- gen_exposed_piece(game.op.where, FARC)
- } else if (game.op.faction === AUC) {
- gen_exposed_piece(game.op.where, AUC)
+ if (game.op.faction) {
+ gen_exposed_piece(game.op.where, game.op.faction)
} else {
if (!has_momentum(MOM_SENADO_FARC))
gen_exposed_piece(game.op.where, FARC)