summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js11
1 files changed, 0 insertions, 11 deletions
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) {