summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-04-21 21:41:02 +0200
committerTor Andersson <tor@ccxvii.net>2023-05-03 18:48:16 +0200
commit2b4bec34881da3611597099f32c2df45ffaebd8e (patch)
tree45d7ec6ed06f54539c06be9c99dc724821e3bfe4 /rules.js
parentd0e94171e19785be97242366a6124ff7b6f5d1aa (diff)
downloadandean-abyss-2b4bec34881da3611597099f32c2df45ffaebd8e.tar.gz
Only check first division list during propaganda phase civic actions.
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules.js b/rules.js
index 53e7e7f..b1eafe7 100644
--- a/rules.js
+++ b/rules.js
@@ -5958,7 +5958,7 @@ function can_civic_action(s) {
return count_pieces(s, GOVT, TROOPS) >= 2 && count_pieces(s, GOVT, POLICE) >= 2
if (has_piece(s, GOVT, TROOPS) && has_piece(s, GOVT, POLICE))
return true
- if (game.prop.first_div) {
+ if (game.prop && game.prop.first_div) {
if (set_has(game.prop.first_div, s))
return true
if (game.prop.first_div.length < 1)