summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorteisuru <31881306+teisuru@users.noreply.github.com>2023-12-06 14:34:08 +0100
committerTor Andersson <tor@ccxvii.net>2023-12-10 18:16:55 +0100
commit2182825efd0fcb8001d46028548991ba89a1c7fb (patch)
tree5970a9ab4584bbcd9a9937eda79c9d53a20ea699
parent01f6e5e561b167f817fcbb4b9fd3c1ecde36ba44 (diff)
downloadplantagenet-2182825efd0fcb8001d46028548991ba89a1c7fb.tar.gz
Y10 agitators fix
-rw-r--r--rules.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules.js b/rules.js
index 8f1b0ea..9622d4c 100644
--- a/rules.js
+++ b/rules.js
@@ -5224,7 +5224,7 @@ states.agitators = {
function deplete_agitators(){
let here = get_lord_locale(game.command)
for (let next of data.locales[here].adjacent) {
- if (!has_exhausted_marker(next))
+ if (!has_exhausted_marker(next) && !is_friendly_locale(next))
gen_action_locale(next)
}
}