From d3011e533c39d30f73be9e0c22ea09e42b36d9ea Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Wed, 11 Oct 2023 21:27:35 +0200 Subject: Fix bug when choosing supply source type. --- rules.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'rules.js') diff --git a/rules.js b/rules.js index 8a30687..f5f7255 100644 --- a/rules.js +++ b/rules.js @@ -4540,10 +4540,10 @@ states.select_supply_type = { view.actions.port = 1 }, stronghold() { - use_stronghold_supply(source, get_stronghold_supply_amount(source)) + use_stronghold_supply(game.where, get_stronghold_supply_amount(game.where)) }, port() { - use_port_supply(source, get_port_supply_amount(source)) + use_port_supply(game.where, get_port_supply_amount(game.where)) }, } -- cgit v1.2.3