src/industry_cmd.cpp
changeset 7152 cba0314cb5e6
parent 7151 d811c3f808bd
child 7179 3e123c2b7c93
--- a/src/industry_cmd.cpp	Sun May 20 00:50:06 2007 +0000
+++ b/src/industry_cmd.cpp	Sun May 20 05:53:19 2007 +0000
@@ -1649,8 +1649,8 @@
 			}
 			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;