summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2022-06-14 21:08:58 +0200
committerTor Andersson <tor@ccxvii.net>2023-02-18 12:12:42 +0100
commit8c8ac74e79b0987248f60fdb5bcec97631596e30 (patch)
tree0a860ba472bc0e2f282422fe9d58bb0b3181e45d /rules.js
parent689d6fc191172354d060819f0c6ceb436386ac69 (diff)
downloadshores-of-tripoli-8c8ac74e79b0987248f60fdb5bcec97631596e30.tar.gz
Re-enable resigning.
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/rules.js b/rules.js
index b3bbecf..c65aae8 100644
--- a/rules.js
+++ b/rules.js
@@ -925,7 +925,7 @@ states.raid_before_hunt = {
play_battle_card(game.tr, card);
if (card === US_SIGNAL_BOOKS_OVERBOARD) {
let c = discard_random_card(game.us.hand, game.us.discard);
- log("United States discarded #" + c + "\.");
+ log("United States discarded #" + c + ".");
}
if (card === HAPPY_HUNTING) {
game.happy_hunting = true;
@@ -2937,8 +2937,6 @@ exports.action = function (state, current, action, arg) {
}
exports.resign = function (state, current) {
- return state;
- // DISABLE resigning
game = state;
if (game.state !== 'game_over') {
if (current === US)