summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-11-04 12:52:42 +0100
committerTor Andersson <tor@ccxvii.net>2023-11-05 14:13:49 +0100
commitbab64f28c6a7d771c0f02ae4b4a4788a2f9569a0 (patch)
tree40fe9242f8bbb344a0f19414c5d5a76e6a81e27b
parent64d083cf2de573165ea43936e08ea1d772b5895e (diff)
downloadalgeria-bab64f28c6a7d771c0f02ae4b4a4788a2f9569a0.tar.gz
FLN pass is always auto-pass.
-rw-r--r--rules.js18
1 files changed, 3 insertions, 15 deletions
diff --git a/rules.js b/rules.js
index 744cb02..dac1c4a 100644
--- a/rules.js
+++ b/rules.js
@@ -3134,8 +3134,7 @@ states.fln_operations = {
// Only allow to Government to take a mission if they didn't just pass.
view.actions.gov_mission = !game.passes
- gen_action("auto_pass")
- gen_action("pass")
+ view.actions.pass = 1
},
propaganda() {
goto_fln_propaganda_mission()
@@ -3158,20 +3157,13 @@ states.fln_operations = {
goto_gov_operations_phase()
},
pass() {
- fln_pass()
- },
- auto_pass() {
game.fln_auto_pass = true
fln_pass()
}
}
function fln_pass() {
- if (game.fln_auto_pass) {
- log_mission("Pass (automatic)")
- } else {
- log_mission("Pass")
- }
+ log_mission("Pass")
game.passes += 1
if (game.passes >= 2) {
end_operations_phase()
@@ -4144,11 +4136,7 @@ states.gov_operations = {
}
function gov_pass() {
- if (game.gov_auto_pass) {
- log_mission("Pass (automatic)")
- } else {
- log_mission("Pass")
- }
+ log_mission("Pass")
game.passes += 1
if (game.passes >= 2) {
end_operations_phase()