mirror of
https://github.com/opensim/opensim.git
synced 2026-07-31 13:55:35 +08:00
Use m_lastFrameTick instead of m_lastUpdate in Scene.GetHealth(). m_lastUpdate is no longer properly updated and is redundant anyway.
This commit is contained in:
@@ -4504,8 +4504,8 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
//
|
||||
int health=1; // Start at 1, means we're up
|
||||
|
||||
if ((Util.EnvironmentTickCountSubtract(m_lastUpdate)) < 1000)
|
||||
health+=1;
|
||||
if ((Util.EnvironmentTickCountSubtract(m_lastFrameTick)) < 1000)
|
||||
health += 1;
|
||||
else
|
||||
return health;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user