summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-05-16 11:26:39 +0200
committerTor Andersson <tor@ccxvii.net>2023-05-16 11:26:39 +0200
commit3521d096febfd9b66c385cbac9491c850b1bfcc4 (patch)
treed21e805670d438819d5f304263acc20ccd52c13b
parent6405fcf0264c1f2abe416b13f8b67472afdcbcbe (diff)
downloadwilderness-war-3521d096febfd9b66c385cbac9491c850b1bfcc4.tar.gz
Disable retro foul weather masking when game is resigned.
-rw-r--r--rules.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/rules.js b/rules.js
index e08be06..7f30a1b 100644
--- a/rules.js
+++ b/rules.js
@@ -9660,6 +9660,7 @@ function load_game_state(state) {
exports.resign = function (state, current) {
load_game_state(state)
+ delete game.retro_foul_weather
if (game.state !== 'game_over')
goto_game_over(current === FRANCE ? BRITAIN : FRANCE, current + " resigned.")
return game