* Fixed negative child agents in the sim stats.

This commit is contained in:
Teravus Ovares
2008-02-07 08:28:48 +00:00
parent 3674257095
commit dba1f476c9

View File

@@ -317,6 +317,12 @@ namespace OpenSim.Region.Environment.Scenes
public int GetChildAgentCount()
{
// some network situations come in where child agents get closed twice.
if (m_numChildAgents < 0)
{
m_numChildAgents = 0;
}
return m_numChildAgents;
}