diff options
author | Tor Andersson <tor@ccxvii.net> | 2022-06-14 21:08:58 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2023-02-18 12:12:42 +0100 |
commit | 8c8ac74e79b0987248f60fdb5bcec97631596e30 (patch) | |
tree | 0a860ba472bc0e2f282422fe9d58bb0b3181e45d | |
parent | 689d6fc191172354d060819f0c6ceb436386ac69 (diff) | |
download | shores-of-tripoli-8c8ac74e79b0987248f60fdb5bcec97631596e30.tar.gz |
Re-enable resigning.
-rw-r--r-- | play.html | 2 | ||||
-rw-r--r-- | rules.js | 4 |
2 files changed, 1 insertions, 5 deletions
@@ -36,10 +36,8 @@ <div class="menu_separator"></div> <div class="menu_item" onclick="window.open('info/tr_cards.html', '_blank')">Tripolitan Cards</div> <div class="menu_item" onclick="window.open('info/us_cards.html', '_blank')">United States Cards</div> - <!-- DISABLED for tournament <div class="resign menu_separator"></div> <div class="resign menu_item" onclick="confirm_resign()">Resign</div> - --> </div> </div> <div class="icon_button" onclick="toggle_zoom()"><img src="/images/magnifying-glass.svg"></div> @@ -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) |