From b670c39aab380dfb7290cec760b3dfc4fcf77b1d 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 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) { -- cgit v1.2.3