diff options
author | Tor Andersson <tor@ccxvii.net> | 2023-07-11 11:21:25 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2023-07-11 11:21:25 +0200 |
commit | e234378a34fa9e19d73c24974f6863b8c5b39212 (patch) | |
tree | ddc666d566f962f9aa3fc5d1a4cdf1b28ad7374d | |
parent | f8e31faf61c91789a89c7b96e77b8311aa48f3b4 (diff) | |
download | pax-pamir-e234378a34fa9e19d73c24974f6863b8c5b39212.tar.gz |
Fix bug with insurrection.
-rw-r--r-- | rules.js | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -2353,7 +2353,7 @@ states.insurrection = { game.pieces[game.selected] = Kabul game.selected = -1 if (--game.count > 0) - game.selected = select_available_block() + game.selected = select_afghan_block() }, next() { push_undo() @@ -3242,8 +3242,6 @@ exports.resign = function (state, current) { return save_game() } -exports.is_checkpoint = (a, b) => a.phasing !== b.phasing - exports.view = function (state, current) { current = player_index[current] load_game(state) |