diff options
author | Tor Andersson <tor@ccxvii.net> | 2022-03-27 22:44:52 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2023-02-18 11:54:52 +0100 |
commit | dd7e07464eb1ac1682b9ad5154d899d336bc00a2 (patch) | |
tree | db43ce8f40956571e61bdb5269a455d702286e4c | |
parent | 047b837cbd4893258fcdb2ed5c30f1e982f66e54 (diff) | |
download | wilderness-war-dd7e07464eb1ac1682b9ad5154d899d336bc00a2.tar.gz |
Fix issue with resigning.
-rw-r--r-- | rules.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; } |