diff options
author | Tor Andersson <tor@ccxvii.net> | 2024-05-06 11:09:23 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2024-05-06 11:09:53 +0200 |
commit | 110cf9f77f91da4885ff52e5365d88e065b47059 (patch) | |
tree | a258438c942fb8b74ccff85d7ecc3a637d27ecc5 /rules.js | |
parent | e7cc75774f1da5e2b4068ce662d0c3e503e68c89 (diff) | |
download | plantagenet-110cf9f77f91da4885ff52e5365d88e065b47059.tar.gz |
fix logging errors
Diffstat (limited to 'rules.js')
-rw-r--r-- | rules.js | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -3414,7 +3414,7 @@ states.supply_source = { let port_supply = get_port_supply_amount(loc, false); let stronghold_supply = get_stronghold_supply_amount(loc, false); if (stronghold_supply > 0 && port_supply === 0) { - use_stronghold_supply(loc, stronghold_supply); + use_stronghold_supply(loc, get_stronghold_supply_amount(loc, true)); end_supply(); return; } @@ -3425,7 +3425,7 @@ states.supply_source = { game.state = "blockade_supply"; } else { - use_port_supply(loc, port_supply); + use_port_supply(loc, get_port_supply_amount(loc, true)); end_supply(); } return; @@ -5647,7 +5647,7 @@ states.for_trust_not_him_bribe = { prompt_influence_check(game.who, vassal_ic); }, check(spend) { - if (roll_influence_check("Bribe L" + game.vassal, game.who, spend, vassal_ic)) + if (roll_influence_check("Bribe V" + game.vassal, game.who, spend, vassal_ic)) muster_vassal(game.vassal, game.who); end_for_trust_not_him(); }, |