From 6058db4c3d3fac9f6113085bb301e52b352859ed Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Wed, 29 May 2024 01:59:41 +0200 Subject: fix typo in oo victory check --- rules.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rules.js b/rules.js index 9a6bd16..b7e8803 100644 --- a/rules.js +++ b/rules.js @@ -921,7 +921,7 @@ function check_offensive_option_victory() { function check_power_victory(victory, city_list, power) { if (power === P_AUSTRIA && is_offensive_option()) { let n = count_captured_objectives(power) - if (n >= city_list.length - 4 && has_conquered_one_of(data.country.Saxony)) + if (n >= city_list[power].length - 4 && has_conquered_one_of(data.country.Saxony)) set_add(victory, power) return } -- cgit v1.2.3