From 22aba0a6adffd4fe35847cb84f0c497a3e38710d Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Fri, 21 Apr 2023 14:54:58 +0200 Subject: WIP up to - air lift at least one? --- rules.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'rules.js') diff --git a/rules.js b/rules.js index 05be45d..a6bc521 100644 --- a/rules.js +++ b/rules.js @@ -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) -- cgit v1.2.3