summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--play.html2
-rw-r--r--rules.js13
2 files changed, 0 insertions, 15 deletions
diff --git a/play.html b/play.html
index e6f4c14..c74e0bb 100644
--- a/play.html
+++ b/play.html
@@ -26,8 +26,6 @@
<li><a target="_blank" href="/nevsky/info/pac.html">Reference Sheets</a>
<li><a target="_blank" href="/nevsky/info/cards.html">Arts of War</a>
<li><a target="_blank" href="/nevsky/info/lords.html">Lord Mats</a>
- <li class="resign separator">
- <li class="resign" onclick="confirm_resign()">Resign
</menu>
</details>
<button onclick="toggle_pieces()"><img src="/images/earth-africa-europe.svg"></button>
diff --git a/rules.js b/rules.js
index 5568525..4c9e45e 100644
--- a/rules.js
+++ b/rules.js
@@ -11026,19 +11026,6 @@ states.game_over = {
},
}
-exports.resign = function (state, current) {
- load_state(state)
- if (game.state !== "game_over") {
- for (let opponent of exports.roles) {
- if (opponent !== current) {
- goto_game_over(opponent, current + " resigned.")
- break
- }
- }
- }
- return game
-}
-
// === UNCOMMON TEMPLATE ===
function log_br() {