diff options
Diffstat (limited to 'rules.js')
-rw-r--r-- | rules.js | 14 |
1 files changed, 0 insertions, 14 deletions
@@ -2757,20 +2757,6 @@ exports.action = function (state, current, action, arg) { return game } -exports.resign = function (state, current) { - game = state - if (game.state !== 'game_over') { - logbr() - log(current + " resigned.") - count_vp() - game.active = null - game.state = 'game_over' - game.result = enemy(current) - game.victory = current + " resigned." - } - return game -} - function make_battle_view() { let attacker = get_attacker(game.where) let bv = { |