summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--play.html2
-rw-r--r--rules.js11
2 files changed, 0 insertions, 13 deletions
diff --git a/play.html b/play.html
index 5f494af..cf8dd53 100644
--- a/play.html
+++ b/play.html
@@ -495,8 +495,6 @@ svg .area.tip, svg .urban2.tip {
<li><a href="info/charts.html" target="_blank">Charts &amp; Tables</a>
<li><a href="info/charts.html#fln-missions" target="_blank">FLN Missions</a>
<li><a href="info/charts.html#gov-missions" target="_blank">Gov. Missions</a>
- <li class="resign separator">
- <li class="resign" onclick="confirm_resign()">Resign
</menu>
</details>
<button class="icon_button" onclick="toggle_pieces()"><img src="/images/earth-africa-europe.svg"></button>
diff --git a/rules.js b/rules.js
index 17c09c6..a695843 100644
--- a/rules.js
+++ b/rules.js
@@ -1172,17 +1172,6 @@ exports.view = function(state, player) {
return view
}
-exports.resign = function (state, player) {
- load_state(state)
- if (game.state !== 'game_over') {
- if (player === FLN_NAME)
- goto_game_over(GOV_NAME, "FLN resigned.")
- if (player === GOV_NAME)
- goto_game_over(FLN_NAME, "Government resigned.")
- }
- return game
-}
-
function victory_scale() {
let psl_diff = Math.abs(game.gov_psl - game.fln_psl)
if (psl_diff <= 25) {