src/genworld_gui.cpp
changeset 7123 25daf2b19a33
parent 7103 e10badf500c8
child 7313 a36dc43afcb5
--- a/src/genworld_gui.cpp	Sat Jun 30 00:17:07 2007 +0000
+++ b/src/genworld_gui.cpp	Sat Jun 30 06:31:49 2007 +0000
@@ -888,7 +888,6 @@
 
 	/* Percentage is about the number of completed tasks, so 'current - 1' */
 	_tp.percent = percent_table[cls] + (percent_table[cls + 1] - percent_table[cls]) * (_tp.current == 0 ? 0 : _tp.current - 1) / _tp.total;
-	_tp.timer = _realtime_tick;
 
 	if (_network_dedicated) {
 		static uint last_percent = 0;
@@ -917,6 +916,8 @@
 	 *  on the same tile at the same moment. Nasty hack, but that happens
 	 *  if you implement threading afterwards */
 	while (IsGeneratingWorldReadyForPaint()) { CSleep(10); }
+
+	_tp.timer = _realtime_tick;
 }
 
 /**