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:08:56 +0100
commitb2408114880d71e08db863790c7685efa5eedcc9 (patch)
tree14c5cc526d5b5b9ed4c7e02485d05d40870910c4
parent23ca24db3e0a84066bc14af0841f0ba87d5141d5 (diff)
downloadjulius-caesar-b2408114880d71e08db863790c7685efa5eedcc9.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 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() {