diff options
author | Tor Andersson <tor@ccxvii.net> | 2022-03-27 18:33:03 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2023-02-18 12:12:42 +0100 |
commit | 77d93ee3a14408eb2a0408eeb4f41df6b43f5178 (patch) | |
tree | cf0a7566e39a4561a9096d58321adc10ab4d0629 /rules.js | |
parent | 9af26e7a6616dab0fd09b4ac33bd663dbed67594 (diff) | |
download | shores-of-tripoli-77d93ee3a14408eb2a0408eeb4f41df6b43f5178.tar.gz |
Disable resigning.
Diffstat (limited to 'rules.js')
-rw-r--r-- | rules.js | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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) |