summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-02-10 18:43:09 +0100
committerTor Andersson <tor@ccxvii.net>2023-02-18 13:02:40 +0100
commitb52fcfbe8ae88f9fc224fffb1db7f083b7591322 (patch)
treec3331e476afdc26324b0c0a5182bc586cb4da298
parent747cfdc789f5533d58748909c08aef8a79b0b301 (diff)
downloadnevsky-b52fcfbe8ae88f9fc224fffb1db7f083b7591322.tar.gz
Fix typo when Bridge affects Russian Lord.
-rw-r--r--rules.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules.js b/rules.js
index 1cf7e75..b26980e 100644
--- a/rules.js
+++ b/rules.js
@@ -7897,7 +7897,7 @@ function assemble_melee_forces(lord) {
forces.light_horse = 0
}
- if (game.battle.bridge && (game.battle.bridge.lord1 === lord || game.battle.bridge.lord12 === lord)) {
+ if (game.battle.bridge && (game.battle.bridge.lord1 === lord || game.battle.bridge.lord2 === lord)) {
let n = is_p1_lord(lord) ? game.battle.bridge.n1 : game.battle.bridge.n2
log(`Bridge L${lord}`)