From b2408114880d71e08db863790c7685efa5eedcc9 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 867c432..342349c 100644 --- a/rules.js +++ b/rules.js @@ -2482,6 +2482,7 @@ exports.resign = function (state, current) { game.result = enemy(current); game.victory = current + " resigned." } + return state; } function make_battle_view() { -- cgit v1.2.3