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:12:55 +0100
commitb670c39aab380dfb7290cec760b3dfc4fcf77b1d (patch)
tree50bae83f2c80714f81da8e3f56243c02c083ee7f
parentb13fe2a8ded8304c4f9590af5cb7db6269f07421 (diff)
downloadrichard-iii-b670c39aab380dfb7290cec760b3dfc4fcf77b1d.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 bbc271f..c79ab89 100644
--- a/rules.js
+++ b/rules.js
@@ -3394,6 +3394,7 @@ exports.resign = function (state, current) {
game.victory = current + " resigned.";
game.result = ENEMY[current];
}
+ return state;
}
exports.view = function(state, current) {