diff options
author | Tor Andersson <tor@ccxvii.net> | 2021-09-17 19:48:17 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2023-02-18 12:42:59 +0100 |
commit | 80dab0a5e489aed34f1a6078544a76d60e78ab09 (patch) | |
tree | 91ae4ae3621b5d88142f6315777023dde71ff27a | |
parent | a8d01e4c6cecaf63519dbea4f5ab789b0674889d (diff) | |
download | 300-earth-and-water-80dab0a5e489aed34f1a6078544a76d60e78ab09.tar.gz |
300: Fix resign result.
-rw-r--r-- | rules.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3229,7 +3229,7 @@ exports.resign = function (state, current) { game.active = "None"; game.state = 'game_over'; game.victory = current + " resigned."; - if (game.current === PERSIA) + if (current === PERSIA) game.result = GREECE; else game.result = PERSIA; |