summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
authorteisuru <31881306+teisuru@users.noreply.github.com>2024-02-15 10:55:12 +0100
committerteisuru <31881306+teisuru@users.noreply.github.com>2024-02-15 10:55:12 +0100
commit60fc53140c5a7eb96f4d585c93b94c756d6c7476 (patch)
tree59409a70f93df06baf595ff44645fd1062cd4423 /rules.js
parent8ab8103a67ba50d220f651d542259c5552a5b39d (diff)
downloadplantagenet-60fc53140c5a7eb96f4d585c93b94c756d6c7476.tar.gz
fix soldiers of fortune
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/rules.js b/rules.js
index 08b013c..192441a 100644
--- a/rules.js
+++ b/rules.js
@@ -1439,8 +1439,7 @@ function can_add_troops_sof(lordwho, locale) {
lord_has_capability(lordwho, AOW_YORK_SOLDIERS_OF_FORTUNE) &&
!has_exhausted_marker(locale) &&
!is_exile(locale) &&
- // TODO: get_shared_assets includes lord's own assets -- simplify?
- (get_lord_assets(lordwho, COIN) > 0 || get_shared_assets(lordwho, COIN) > 0)
+ get_shared_assets(locale, COIN) > 0
) {
let number = 6
for (let lord = first_friendly_lord; lord <= last_friendly_lord; ++lord)