summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
authorMischa Untaga <99098079+MischaU8@users.noreply.github.com>2023-10-14 13:34:36 +0200
committerMischa Untaga <99098079+MischaU8@users.noreply.github.com>2023-10-14 13:34:36 +0200
commit66133347285c333cb7bddc7cfe47aa3de2ed53a9 (patch)
tree2e8c8fd3982f956e5504fb01d6c760faa83dfd63 /rules.js
parentf1f3572b4c2e05e470c1e7d24858b12879cbb581 (diff)
downloadalgeria-66133347285c333cb7bddc7cfe47aa3de2ed53a9.tar.gz
Only allow to Government to take a mission if they didn't just pass
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/rules.js b/rules.js
index 9bc350d..4d82311 100644
--- a/rules.js
+++ b/rules.js
@@ -2288,7 +2288,8 @@ states.fln_operations = {
view.actions.move = 1
})
- gen_action("gov_mission")
+ // Only allow to Government to take a mission if they didn't just pass.
+ view.actions.gov_mission = !game.passes
gen_action("pass")
},
propaganda() {