From dd7e07464eb1ac1682b9ad5154d899d336bc00a2 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Sun, 27 Mar 2022 22:44:52 +0200 Subject: Fix issue with resigning. --- rules.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rules.js b/rules.js index c4d3172..fd3c01a 100644 --- a/rules.js +++ b/rules.js @@ -9433,7 +9433,7 @@ function load_game_state(state) { exports.resign = function (state, current) { load_game_state(state); if (game.state !== 'game_over') - goto_game_over(enemy(), current + " resigned."); + goto_game_over(current === FRANCE ? BRITAIN : FRANCE, current + " resigned."); return game; } -- cgit v1.2.3