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 216d8d9..9d45537 100644
--- a/rules.js
+++ b/rules.js
@@ -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;