summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/industry_cmd.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/industry_cmd.cpp b/src/industry_cmd.cpp
index 6b938bed8..58c9ba9c7 100644
--- a/src/industry_cmd.cpp
+++ b/src/industry_cmd.cpp
@@ -1649,8 +1649,8 @@ static void UpdateIndustryStatistics(Industry *i)
}
i->pct_transported[j] = pct;
- i->total_production[0] = i->last_mo_production[0];
- i->last_mo_production[0] = 0;
+ i->total_production[j] = i->last_mo_production[j];
+ i->last_mo_production[j] = 0;
i->total_transported[j] = i->last_mo_transported[j];
i->last_mo_transported[j] = 0;