mirror of https://github.com/OpenTTD/OpenTTD
parent
b6a092f3e0
commit
2d5565129a
|
@ -1838,7 +1838,7 @@ static void DoCreateNewIndustry(Industry *i, TileIndex tile, IndustryType type,
|
||||||
if (indspec->callback_mask.Test(IndustryCallbackMask::Production256Ticks)) {
|
if (indspec->callback_mask.Test(IndustryCallbackMask::Production256Ticks)) {
|
||||||
IndustryProductionCallback(i, 1);
|
IndustryProductionCallback(i, 1);
|
||||||
for (auto &p : i->produced) {
|
for (auto &p : i->produced) {
|
||||||
p.history[LAST_MONTH].production = p.waiting * 8;
|
p.history[LAST_MONTH].production = ScaleByCargoScale(p.waiting * 8, false);
|
||||||
p.waiting = 0;
|
p.waiting = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue