summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/rules.js b/rules.js
index 93c6637..a9c78d1 100644
--- a/rules.js
+++ b/rules.js
@@ -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)