diff options
author | Tor Andersson <tor@ccxvii.net> | 2024-06-03 11:16:23 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2024-06-03 11:16:23 +0200 |
commit | bcf6a9df595a04f96fce568f612faf9f9d1a7e89 (patch) | |
tree | 90315ea2ddc1b0cff470d9e8bb282717cb215917 | |
parent | e8624e0dc41171c01816ecbeb09a6e5c6475f1ca (diff) | |
download | friedrich-bcf6a9df595a04f96fce568f612faf9f9d1a7e89.tar.gz |
clean up log when powers quit the game
-rw-r--r-- | rules.js | 11 |
1 files changed, 7 insertions, 4 deletions
@@ -832,13 +832,13 @@ function retire_general(p) { } } if (n > 1) - log("P" + p + " retired with " + n + " troops.") + log("P" + p + " removed from S" + s + " with " + n + " troops.") else if (n === 1) - log("P" + p + " retired with 1 troop.") + log("P" + p + " removed from S" + s + " with 1 troop.") else - log("P" + p + " retired.") + log("P" + p + " removed.") } else { - log("P" + p + " retired.") + log("P" + p + " removed.") } } @@ -3131,6 +3131,7 @@ function goto_clock_of_fate() { log("The Imperial Army switches players and eased victory conditions come into effect for Austria and the Imperial Army.") else log("For Sweden eased victory conditions come into effect.") + log_br() break case FC_SWEDEN: log("Sweden quits the game!") @@ -3142,6 +3143,7 @@ function goto_clock_of_fate() { log_br() log("The Imperial Army switches players and eased victory conditions come into effect for Austria and the Imperial Army.") } + log_br() break case FC_AMERICA: case FC_INDIA: @@ -3153,6 +3155,7 @@ function goto_clock_of_fate() { log("Cumberland is removed permanently from the game. Hanover receives only 1 TC from now on.") log_br() log("The Imperial Army switches players and eased victory conditions come into effect for Austria and the Imperial Army.") + log_br() } else { if (game.scenario === 1) break |