mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 08:55:56 +08:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user