diff options
author | teisuru <31881306+teisuru@users.noreply.github.com> | 2024-02-15 10:55:12 +0100 |
---|---|---|
committer | teisuru <31881306+teisuru@users.noreply.github.com> | 2024-02-15 10:55:12 +0100 |
commit | 60fc53140c5a7eb96f4d585c93b94c756d6c7476 (patch) | |
tree | 59409a70f93df06baf595ff44645fd1062cd4423 /rules.js | |
parent | 8ab8103a67ba50d220f651d542259c5552a5b39d (diff) | |
download | plantagenet-60fc53140c5a7eb96f4d585c93b94c756d6c7476.tar.gz |
fix soldiers of fortune
Diffstat (limited to 'rules.js')
-rw-r--r-- | rules.js | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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) |