diff options
author | Tor Andersson <tor@ccxvii.net> | 2022-05-15 17:02:50 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2023-02-18 12:31:29 +0100 |
commit | 08af731fc5853520a0cb5a4750b468bebc51374b (patch) | |
tree | 095baf3ad5fe1f5bd0a701f702cf0d6604e643f6 /rules.js | |
parent | 664b214b00be89bf69608a169757c5e119574250 (diff) | |
download | pax-pamir-08af731fc5853520a0cb5a4750b468bebc51374b.tar.gz |
Take blocks from end.
Diffstat (limited to 'rules.js')
-rw-r--r-- | rules.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -547,7 +547,7 @@ function gen_select_tribe_to_move() { function select_available_block() { let b = active_coalition_blocks(); - for (let i = b; i < b + 12; ++i) + for (let i = b + 11; i >= b; --i) if (game.pieces[i] === 0) return i; return -1; |