diff options
-rw-r--r-- | rules.js | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -4328,6 +4328,10 @@ function goto_saxony_becomes_neutral() { log_br() log("Saxony becomes neutral!") + // invalidate contracts with former allies + map_delete(game.contracts[P_FRANCE], P_SAXONY) + map_delete(game.contracts[P_PRUSSIA], P_SAXONY) + // Return all victory markers log(">Removed victory markers") for (let s of all_home_country_fortresses[P_SAXONY]) { @@ -4429,6 +4433,10 @@ function goto_saxony_becomes_austrian_ally() { log_br() log("Saxony becomes Austrian ally!") + // invalidate contracts with former allies + map_delete(game.contracts[P_FRANCE], P_SAXONY) + map_delete(game.contracts[P_PRUSSIA], P_SAXONY) + game.selected = SAXONY_GENERAL if (game.pos[SAXONY_GENERAL] === ELIMINATED) { |