summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-11-09 00:53:18 +0100
committerTor Andersson <tor@ccxvii.net>2023-11-09 00:56:25 +0100
commitd1ef9fec253873a1596d8f247396f11854db00ad (patch)
tree679a62c809d840c3ca32d990b9f0147856a6a668 /rules.js
parent15bc4324ee15b18efc63978af22bccbb0c4cafb7 (diff)
downloadalgeria-d1ef9fec253873a1596d8f247396f11854db00ad.tar.gz
Don't show Gov [auto-pass] when FLN has already passed.
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 599345b..4637bd0 100644
--- a/rules.js
+++ b/rules.js
@@ -4131,7 +4131,8 @@ states.gov_operations = {
}
})
- gen_action("auto_pass")
+ if (!game.fln_auto_pass)
+ gen_action("auto_pass")
gen_action("pass")
},
flush() {