Remove duplicate update of user count in Scene.IncomingCloseAgent()

This is already done in Scene.RemoveClient() which IncomingCloseAgent() always ends up calling.
This commit is contained in:
Justin Clark-Casey (justincc)
2012-06-08 00:40:38 +01:00
parent af2954898e
commit d547bcf8d1
3 changed files with 27 additions and 14 deletions

View File

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