forked from mirror/OpenTTD
Feature: Settings to scale cargo production of towns and industries (#10606)
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user