From bc8b86333269347eb7ef4b48fed18216d54c469d Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Sat, 6 Nov 2021 13:25:16 +0100 Subject: Clean up replay script. --- rules.js | 1 + 1 file changed, 1 insertion(+) 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) { -- cgit v1.2.3