summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/rules.js b/rules.js
index 0095471..8871d37 100644
--- a/rules.js
+++ b/rules.js
@@ -3117,11 +3117,11 @@ function can_action_parley_levy() {
function parley_adjacent(here, lord) {
let seaports = []
- if (is_seaport(here) && get_lord_assets(lord, SHIP) > 0 ) {
+ if (is_seaport(here) && get_shared_assets(lord, SHIP) > 0 ) {
if (data.port_1.includes(here)) seaports = data.port_1
if (data.port_2.includes(here)) seaports = data.port_2
if (data.port_3.includes(here)) seaports = data.port_3
- } else if (is_exile(here) && get_lord_assets(lord, SHIP) > 0) {
+ } else if (is_exile(here) && get_shared_assets(lord, SHIP) > 0) {
return find_ports_from_exile(here)
}
return data.locales[here].adjacent.concat(seaports)