summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2021-11-06 13:25:16 +0100
committerTor Andersson <tor@ccxvii.net>2023-02-18 12:42:59 +0100
commit61cb34aa0b74f67a5b3cc325e02fcbedde9add58 (patch)
tree78a31418678468b79e7096f45daa898a4805021a
parentec2e9dae938387eeea59e6679accabe5ddb11939 (diff)
download300-earth-and-water-61cb34aa0b74f67a5b3cc325e02fcbedde9add58.tar.gz
Clean up replay script.
-rw-r--r--rules.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/rules.js b/rules.js
index 5baa7f6..d3a6f3b 100644
--- a/rules.js
+++ b/rules.js
@@ -3358,6 +3358,7 @@ exports.resign = function (state, current) {
else
game.result = PERSIA;
}
+ return state;
}
exports.view = function(state, current) {