summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
authorteisuru <31881306+teisuru@users.noreply.github.com>2024-01-09 16:32:49 +0100
committerteisuru <31881306+teisuru@users.noreply.github.com>2024-01-09 16:32:49 +0100
commit9d04266e07b9e0494ab0e737773da67007a4d7fd (patch)
tree77a04d5cdef060b0c04e9b1f5f277b3ae24096d0 /rules.js
parent3e6768b632420f33727fc31c791b75d5f17c6a93 (diff)
downloadplantagenet-9d04266e07b9e0494ab0e737773da67007a4d7fd.tar.gz
bugfix intercept
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules.js b/rules.js
index 75923e1..49d037f 100644
--- a/rules.js
+++ b/rules.js
@@ -5725,7 +5725,7 @@ function goto_intercept() {
let here = get_lord_locale(game.command)
for (let next of data.locales[here].not_paths) {
if (has_enemy_lord(next)) {
- if (is_wales_forbidden(next)) {
+ if (!is_wales_forbidden(next)) {
clear_undo()
game.state = "intercept"
set_active_enemy()