summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorteisuru <31881306+teisuru@users.noreply.github.com>2024-02-18 03:25:44 +0100
committerteisuru <31881306+teisuru@users.noreply.github.com>2024-02-18 03:25:44 +0100
commit6af263a7df05a6928b48480dc336078159a26640 (patch)
treef731c693ba97bc25aa1a6bd53d14bd4540f87c41
parent207cf362a12beee6294f8d8aa0b0b15386106dbd (diff)
downloadplantagenet-6af263a7df05a6928b48480dc336078159a26640.tar.gz
fix rebel supply depot
-rw-r--r--rules.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/rules.js b/rules.js
index fb87677..98b8bc1 100644
--- a/rules.js
+++ b/rules.js
@@ -4141,6 +4141,8 @@ function can_play_parliaments_truce() {
}
function can_play_rebel_supply_depot() {
+ if (game.active === YORK)
+ return false
if (game.group) {
for (let lord of game.group) {
if (get_lord_moved(lord) && is_seaport(get_lord_locale(game.command))) {