Feature: Settings to scale cargo production of towns and industries (#10606)

This commit is contained in:
Tyler Trahan
2024-01-30 15:11:46 -05:00
committed by GitHub
parent 96651b5ada
commit 41f2eed425
10 changed files with 179 additions and 30 deletions

View File

@@ -1169,7 +1169,7 @@ static void UpdateIndustryProduction(Industry *i)
for (auto &p : i->produced) {
if (IsValidCargoID(p.cargo)) {
p.history[LAST_MONTH].production = 8 * p.rate;
p.history[LAST_MONTH].production = ScaleByCargoScale(8 * p.rate, false);
}
}
}