From 6b24dd7fbd01298d558449c4404ece06a5187071 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Sat, 27 Jul 2024 13:09:30 +0200 Subject: fix coastal raids --- rules.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/rules.js b/rules.js index 6ab8d63..f8d8d35 100644 --- a/rules.js +++ b/rules.js @@ -3426,16 +3426,16 @@ states.lord_sandwich_coastal_raids = { view.actions.pass = 1 gen_lord_sandwich_coastal_raids(game.where) }, - space(where) { - if (has_american_pc(space)) { - game.where = where - remove_pc(where) + space(s) { + if (has_american_pc(s)) { + game.where = s + remove_pc(s) if (--game.count === 0) end_strategy_card() } else { - place_british_pc(where) + place_british_pc(s) + end_strategy_card() } - end_strategy_card() }, pass() { end_strategy_card() -- cgit v1.2.3