diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes')
-rwxr-xr-x | OpenSim/Region/Framework/Scenes/Scene.cs | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs index 7913f42..c539f1f 100755 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs | |||
@@ -457,6 +457,12 @@ namespace OpenSim.Region.Framework.Scenes | |||
457 | 457 | ||
458 | private string m_defaultScriptEngine; | 458 | private string m_defaultScriptEngine; |
459 | 459 | ||
460 | private int m_unixStartTime; | ||
461 | public int UnixStartTime | ||
462 | { | ||
463 | get { return m_unixStartTime; } | ||
464 | } | ||
465 | |||
460 | /// <summary> | 466 | /// <summary> |
461 | /// Tick at which the last login occurred. | 467 | /// Tick at which the last login occurred. |
462 | /// </summary> | 468 | /// </summary> |
@@ -1461,7 +1467,8 @@ namespace OpenSim.Region.Framework.Scenes | |||
1461 | m_isRunning = true; | 1467 | m_isRunning = true; |
1462 | m_active = true; | 1468 | m_active = true; |
1463 | 1469 | ||
1464 | // m_log.DebugFormat("[SCENE]: Starting Heartbeat timer for {0}", RegionInfo.RegionName); | 1470 | m_unixStartTime = Util.UnixTimeSinceEpoch(); |
1471 | // m_log.DebugFormat("[SCENE]: Starting Heartbeat timer for {0}", RegionInfo.RegionName); | ||
1465 | if (m_heartbeatThread != null) | 1472 | if (m_heartbeatThread != null) |
1466 | { | 1473 | { |
1467 | m_heartbeatThread.Abort(); | 1474 | m_heartbeatThread.Abort(); |