* Fixed negative child agents in the sim stats.
parent
3674257095
commit
dba1f476c9
|
@ -317,6 +317,12 @@ namespace OpenSim.Region.Environment.Scenes
|
||||||
|
|
||||||
public int GetChildAgentCount()
|
public int GetChildAgentCount()
|
||||||
{
|
{
|
||||||
|
// some network situations come in where child agents get closed twice.
|
||||||
|
if (m_numChildAgents < 0)
|
||||||
|
{
|
||||||
|
m_numChildAgents = 0;
|
||||||
|
}
|
||||||
|
|
||||||
return m_numChildAgents;
|
return m_numChildAgents;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue