diff options
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs index eb284c1..f79eb5d 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs | |||
@@ -1314,7 +1314,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1314 | maintc = Util.EnvironmentTickCountSubtract(maintc); | 1314 | maintc = Util.EnvironmentTickCountSubtract(maintc); |
1315 | maintc = (int)(m_timespan * 1000) - maintc; | 1315 | maintc = (int)(m_timespan * 1000) - maintc; |
1316 | 1316 | ||
1317 | if ((maintc < (m_timespan * 1000)) && maintc > 0) | 1317 | if (maintc > 0) |
1318 | Thread.Sleep(maintc); | 1318 | Thread.Sleep(maintc); |
1319 | 1319 | ||
1320 | // Tell the watchdog that this thread is still alive | 1320 | // Tell the watchdog that this thread is still alive |