src/industry_cmd.cpp
changeset 10303 78028cd29075
parent 10272 2014f0bdc800
child 10314 9cfcdd5b5ddb
--- a/src/industry_cmd.cpp	Tue Apr 22 23:16:36 2008 +0000
+++ b/src/industry_cmd.cpp	Wed Apr 23 00:14:49 2008 +0000
@@ -1033,6 +1033,9 @@
 
 			if (cut) ChopLumberMillTrees(i);
 		}
+
+		TriggerIndustry(i, INDUSTRY_TRIGGER_INDUSTRY_TICK);
+		StartStopIndustryTileAnimation(i, IAT_INDUSTRY_TICK);
 	}
 }
 
@@ -1054,8 +1057,6 @@
 	if (_game_mode == GM_EDITOR) return;
 
 	FOR_ALL_INDUSTRIES(i) {
-		TriggerIndustry(i, INDUSTRY_TRIGGER_INDUSTRY_TICK);
-		StartStopIndustryTileAnimation(i, IAT_INDUSTRY_TICK);
 		ProduceIndustryGoods(i);
 	}
 }