diff options
author | Tor Andersson <tor@ccxvii.net> | 2023-04-21 14:54:58 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2023-05-03 18:48:16 +0200 |
commit | 22aba0a6adffd4fe35847cb84f0c497a3e38710d (patch) | |
tree | 44b9aef717b3293d441f21f55a4493faa72f35ec /rules.js | |
parent | 1e3995aae8a7a0b613d0813e6d3a940a66c0850d (diff) | |
download | andean-abyss-22aba0a6adffd4fe35847cb84f0c497a3e38710d.tar.gz |
WIP up to - air lift at least one?
Diffstat (limited to 'rules.js')
-rw-r--r-- | rules.js | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -4613,7 +4613,8 @@ states.air_lift_move = { view.prompt = `Air Lift: Move Troops from ${space_name[game.sa.from]} to ${space_name[game.sa.to]}.` view.where = game.sa.to gen_piece_in_space(game.sa.from, GOVT, TROOPS) - view.actions.end_air_lift = 1 + if (game.sa.count > 0) + view.actions.end_air_lift = 1 }, piece(p) { move_piece(p, game.sa.to) |