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