summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2024-07-27 13:09:30 +0200
committerTor Andersson <tor@ccxvii.net>2024-08-21 00:28:20 +0200
commit6b24dd7fbd01298d558449c4404ece06a5187071 (patch)
treee3d0e3e565438f2b99c703e8e17d0e809c903042
parent531bc6dee11f8026dbd140eeee8b2a37e224413a (diff)
downloadwashingtons-war-6b24dd7fbd01298d558449c4404ece06a5187071.tar.gz
fix coastal raids
-rw-r--r--rules.js12
1 files 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()