From 2d5565129a8a5ee3670a7c24de6428210af342d9 Mon Sep 17 00:00:00 2001 From: Tyler Trahan Date: Sat, 1 Feb 2025 14:08:49 -0500 Subject: [PATCH] Fix #13140: Scale initial industry production estimate by cargo scale (#13427) --- src/industry_cmd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/industry_cmd.cpp b/src/industry_cmd.cpp index 1d50df13b2..93bdf9eb4b 100644 --- a/src/industry_cmd.cpp +++ b/src/industry_cmd.cpp @@ -1838,7 +1838,7 @@ static void DoCreateNewIndustry(Industry *i, TileIndex tile, IndustryType type, if (indspec->callback_mask.Test(IndustryCallbackMask::Production256Ticks)) { IndustryProductionCallback(i, 1); 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; } }