diff options
author | Tor Andersson <tor@ccxvii.net> | 2024-05-29 01:59:41 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2024-05-30 21:59:25 +0200 |
commit | 6058db4c3d3fac9f6113085bb301e52b352859ed (patch) | |
tree | bccfd97ed3413ca2178a5d588ba26b5a767d6cc8 | |
parent | a075230105463a8162bb8f47618a4e0f9f9a6ed9 (diff) | |
download | friedrich-6058db4c3d3fac9f6113085bb301e52b352859ed.tar.gz |
fix typo in oo victory check
-rw-r--r-- | rules.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 } |