summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rules.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/rules.js b/rules.js
index b183bab..7f00c51 100644
--- a/rules.js
+++ b/rules.js
@@ -5269,7 +5269,7 @@ function goto_adjust_political_tracks() {
game.russia = Math.max(1, Math.min(9, game.russia))
game.italy = Math.max(1, Math.min(9, game.italy))
- let old_italy_a = !!(game.flags & F_ITALY_FRANCE)
+ let old_italy_a = !!(game.flags & F_ITALY_AUSTRIA)
let old_italy_f = !!(game.flags & F_ITALY_FRANCE)
if (game.italy <= 2) game.flags |= F_ITALY_FRANCE
@@ -5277,7 +5277,7 @@ function goto_adjust_political_tracks() {
if (game.italy >= 5) game.flags &= ~F_ITALY_FRANCE
if (game.italy >= 8) game.flags |= F_ITALY_AUSTRIA
- let new_italy_a = !!(game.flags & F_ITALY_FRANCE)
+ let new_italy_a = !!(game.flags & F_ITALY_AUSTRIA)
let new_italy_f = !!(game.flags & F_ITALY_FRANCE)
if (old_italy_a !== new_italy_a) {