diff options
author | Tor Andersson <tor@ccxvii.net> | 2023-04-21 21:41:02 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2023-05-03 18:48:16 +0200 |
commit | 2b4bec34881da3611597099f32c2df45ffaebd8e (patch) | |
tree | 45d7ec6ed06f54539c06be9c99dc724821e3bfe4 /rules.js | |
parent | d0e94171e19785be97242366a6124ff7b6f5d1aa (diff) | |
download | andean-abyss-2b4bec34881da3611597099f32c2df45ffaebd8e.tar.gz |
Only check first division list during propaganda phase civic actions.
Diffstat (limited to 'rules.js')
-rw-r--r-- | rules.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |