summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/rules.js b/rules.js
index abf4c3c..1d96e29 100644
--- a/rules.js
+++ b/rules.js
@@ -7345,6 +7345,10 @@ states.vm_nomenklatura = {
prompt() {
view.prompt = 'Nomenklatura: Choose to remove all Democratic SPs from Elite spaces or place 3 SPs in any Elite space(s).'
gen_action('remove')
+ let dem_elites = spaces.filter((space) => space.socio === SOCIO_ELITE && game.demInfl[space.space_id] > 0).length
+ if (dem_elites === 0) {
+ view.actions.remove = 0
+ }
gen_action('add')
},
remove() {