summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rules.js2
1 files changed, 1 insertions, 1 deletions
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;
}