summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2022-03-27 18:33:03 +0200
committerTor Andersson <tor@ccxvii.net>2023-02-18 12:12:42 +0100
commit77d93ee3a14408eb2a0408eeb4f41df6b43f5178 (patch)
treecf0a7566e39a4561a9096d58321adc10ab4d0629 /rules.js
parent9af26e7a6616dab0fd09b4ac33bd663dbed67594 (diff)
downloadshores-of-tripoli-77d93ee3a14408eb2a0408eeb4f41df6b43f5178.tar.gz
Disable resigning.
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/rules.js b/rules.js
index 1297bdf..7266f3a 100644
--- a/rules.js
+++ b/rules.js
@@ -2939,6 +2939,8 @@ exports.action = function (state, current, action, arg) {
}
exports.resign = function (state, current) {
+ return state;
+ // DISABLE resigning
game = state;
if (game.state !== 'game_over') {
if (current === US)