From bab64f28c6a7d771c0f02ae4b4a4788a2f9569a0 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Sat, 4 Nov 2023 12:52:42 +0100 Subject: FLN pass is always auto-pass. --- rules.js | 18 +++--------------- 1 file 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() -- cgit v1.2.3