summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rules.js2
1 files changed, 1 insertions, 1 deletions
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
}