summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2024-02-11 23:57:55 +0100
committerTor Andersson <tor@ccxvii.net>2024-02-11 23:57:58 +0100
commitabd19dbb4ca2897f486f42eb59a64c3e4a085672 (patch)
tree8b07f54550e693c81f85bd73cbd101cc6ee9a437 /rules.js
parent86fb3270e2b3e3f485a84f8af3a5af323c5cfacd (diff)
downloadplantagenet-abd19dbb4ca2897f486f42eb59a64c3e4a085672.tar.gz
Fix BF event.
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/rules.js b/rules.js
index cee933f..655e1ef 100644
--- a/rules.js
+++ b/rules.js
@@ -6552,6 +6552,8 @@ function end_parliaments_truce() {
}
function goto_blocked_ford() {
+ let here = get_lord_locale(game.command)
+
// The marching lord can now play blocked ford to prevent enemy going into exile.
if (
has_enemy_lord(here) && (