diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Scene.cs')
-rwxr-xr-x | OpenSim/Region/Framework/Scenes/Scene.cs | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs index 906c862..643dca3 100755 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs | |||
@@ -454,6 +454,12 @@ namespace OpenSim.Region.Framework.Scenes | |||
454 | 454 | ||
455 | private string m_defaultScriptEngine; | 455 | private string m_defaultScriptEngine; |
456 | 456 | ||
457 | private int m_unixStartTime; | ||
458 | public int UnixStartTime | ||
459 | { | ||
460 | get { return m_unixStartTime; } | ||
461 | } | ||
462 | |||
457 | /// <summary> | 463 | /// <summary> |
458 | /// Tick at which the last login occurred. | 464 | /// Tick at which the last login occurred. |
459 | /// </summary> | 465 | /// </summary> |
@@ -1438,7 +1444,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1438 | 1444 | ||
1439 | m_isRunning = true; | 1445 | m_isRunning = true; |
1440 | m_active = true; | 1446 | m_active = true; |
1441 | 1447 | m_unixStartTime = Util.UnixTimeSinceEpoch(); | |
1442 | // m_log.DebugFormat("[SCENE]: Starting Heartbeat timer for {0}", RegionInfo.RegionName); | 1448 | // m_log.DebugFormat("[SCENE]: Starting Heartbeat timer for {0}", RegionInfo.RegionName); |
1443 | if (m_heartbeatThread != null) | 1449 | if (m_heartbeatThread != null) |
1444 | { | 1450 | { |