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-16 19:19:39 +0100
commit941a2ad14e547c223cc347297adca003c0bed56a (patch)
treeca029e555fd8f3a5cff586ee6724b055bff2df31
parent01298ca8a4af73865275e868f18255ac033e4782 (diff)
downloadcrusader-rex-941a2ad14e547c223cc347297adca003c0bed56a.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 35a1c4d..367b65e 100644
--- a/rules.js
+++ b/rules.js
@@ -3735,6 +3735,7 @@ exports.resign = function (state, current) {
game.victory = current + " resigned.";
game.result = enemy(current);
}
+ return state;
}
function make_siege_view() {