summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
authorteisuru <31881306+teisuru@users.noreply.github.com>2024-02-18 01:53:00 +0100
committerteisuru <31881306+teisuru@users.noreply.github.com>2024-02-18 01:53:00 +0100
commit929dfa640589d05337f77274e6e0e76b7b19de69 (patch)
tree4e35c4d32d43e4ca36e67c9a0c71dd813643639c /rules.js
parenta4832050cdc2aea37c4a292179acdf550883e1da (diff)
downloadplantagenet-929dfa640589d05337f77274e6e0e76b7b19de69.tar.gz
fix parley at sea
you can't parley while at sea...
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/rules.js b/rules.js
index 424cbd2..a53cc06 100644
--- a/rules.js
+++ b/rules.js
@@ -5873,6 +5873,9 @@ function can_action_parley_command() {
if (game.actions <= 0)
return false
+ if (is_lord_at_sea(game.active))
+ return false
+
if (!is_first_action() && game.active === YORK && is_event_in_play(EVENT_LANCASTER_NEW_ACT_OF_PARLIAMENT))
return false