summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js9
1 files changed, 8 insertions, 1 deletions
diff --git a/rules.js b/rules.js
index b6bb546..8d64940 100644
--- a/rules.js
+++ b/rules.js
@@ -1517,10 +1517,17 @@ states.land_battle_bombardment_results = {
log("Land Battle in " + SPACES[game.where] + ".");
- goto_land_battle_american_card();
+ goto_land_battle();
},
}
+function goto_land_battle() {
+ // No opposition left -- skip card play and go to end.
+ if (count_tripolitan_infantry(game.where) == 0)
+ return goto_land_battle_round();
+ goto_land_battle_american_card();
+}
+
function goto_land_battle_american_card() {
game.marine_sharpshooters = false;
game.lieutenant_obannon_leads_the_charge = false;