summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2021-11-06 13:25:16 +0100
committerTor Andersson <tor@ccxvii.net>2022-11-17 12:53:17 +0100
commitbc8b86333269347eb7ef4b48fed18216d54c469d (patch)
treeab669208dde9cf554ffdc7edf19ab773407f6e12
parent3aec639f39c1d035a5a2aa6f12e139d70e58c9fa (diff)
downloadhammer-of-the-scots-bc8b86333269347eb7ef4b48fed18216d54c469d.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 5d507df..84cd9a7 100644
--- a/rules.js
+++ b/rules.js
@@ -2882,6 +2882,7 @@ exports.resign = function (state, current) {
game.victory = current + " resigned.";
game.result = ENEMY[current];
}
+ return state;
}
exports.view = function(state, current) {