diff options
-rw-r--r-- | play.html | 2 | ||||
-rw-r--r-- | rules.js | 11 |
2 files changed, 0 insertions, 13 deletions
@@ -495,8 +495,6 @@ svg .area.tip, svg .urban2.tip { <li><a href="info/charts.html" target="_blank">Charts & 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> @@ -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) { |