From 2b4bec34881da3611597099f32c2df45ffaebd8e Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Fri, 21 Apr 2023 21:41:02 +0200 Subject: Only check first division list during propaganda phase civic actions. --- rules.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rules.js') 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) -- cgit v1.2.3