diff options
author | Mischa Untaga <99098079+MischaU8@users.noreply.github.com> | 2023-09-29 14:16:21 +0200 |
---|---|---|
committer | Mischa Untaga <99098079+MischaU8@users.noreply.github.com> | 2023-09-29 14:16:21 +0200 |
commit | 743249cc75444bc57cbab849735040354064b800 (patch) | |
tree | 322c167e76161226657b438a7ab00dee2f6fc776 /rules.js | |
parent | 5567701ee8786e38bd724ba7143794b9fa18a671 (diff) | |
download | algeria-743249cc75444bc57cbab849735040354064b800.tar.gz |
deploy
Diffstat (limited to 'rules.js')
-rw-r--r-- | rules.js | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -335,6 +335,7 @@ function unit_box(u) { } function set_unit_box(u, x) { + console.log("set_unit_box", u, x) game.units[u] = (game.units[u] & ~UNIT_BOX_MASK) | (x << UNIT_BOX_SHIFT) } @@ -725,7 +726,7 @@ states.scenario_setup = { if (done) gen_action('end_deployment') if (game.selected.length > 0) { - for (let i = 0; i < areas.length; ++i) { + for (let i = 3; i < area_count; ++i) { let loc = areas[i].loc gen_action_loc(loc) } |