From 8c8ac74e79b0987248f60fdb5bcec97631596e30 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Tue, 14 Jun 2022 21:08:58 +0200 Subject: Re-enable resigning. --- play.html | 2 -- rules.js | 4 +--- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/play.html b/play.html index bc37b60..2634d94 100644 --- a/play.html +++ b/play.html @@ -36,10 +36,8 @@ -
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) -- cgit v1.2.3