summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2021-11-06 13:25:16 +0100
committerTor Andersson <tor@ccxvii.net>2023-02-18 12:12:42 +0100
commit99f5c7b806b70f9f7bf0324fb21db7f4462d0505 (patch)
tree81f27fb6b8683b05237f01fe88f585444fa3cc89 /rules.js
parentd8a1378e8bfd1915ab4386b63130d16c3acdfec7 (diff)
downloadshores-of-tripoli-99f5c7b806b70f9f7bf0324fb21db7f4462d0505.tar.gz
Clean up replay script.
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/rules.js b/rules.js
index 18c1367..862d984 100644
--- a/rules.js
+++ b/rules.js
@@ -2877,6 +2877,7 @@ exports.resign = function (state, current) {
if (current === TR)
goto_game_over(US, "Tripolitania resigned.");
}
+ return state;
}
exports.view = function(state, current) {