aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/SceneGraph.cs
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2012-06-08 00:40:38 +0100
committerJustin Clark-Casey (justincc)2012-06-08 00:40:38 +0100
commitd547bcf8d15bdcb8604cf170dc8ec1e14ad4cdc0 (patch)
tree6d218ba2e89e39d05c8e1f0ccba5cef943ad822d /OpenSim/Region/Framework/Scenes/SceneGraph.cs
parentMerge branch 'master' of ssh://opensimulator.org/var/git/opensim (diff)
downloadopensim-SC_OLD-d547bcf8d15bdcb8604cf170dc8ec1e14ad4cdc0.zip
opensim-SC_OLD-d547bcf8d15bdcb8604cf170dc8ec1e14ad4cdc0.tar.gz
opensim-SC_OLD-d547bcf8d15bdcb8604cf170dc8ec1e14ad4cdc0.tar.bz2
opensim-SC_OLD-d547bcf8d15bdcb8604cf170dc8ec1e14ad4cdc0.tar.xz
Remove duplicate update of user count in Scene.IncomingCloseAgent()
This is already done in Scene.RemoveClient() which IncomingCloseAgent() always ends up calling.
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneGraph.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/SceneGraph.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneGraph.cs b/OpenSim/Region/Framework/Scenes/SceneGraph.cs
index ddf1550..82a4f64 100644
--- a/OpenSim/Region/Framework/Scenes/SceneGraph.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneGraph.cs
@@ -703,10 +703,10 @@ namespace OpenSim.Region.Framework.Scenes
703 public int GetChildAgentCount() 703 public int GetChildAgentCount()
704 { 704 {
705 // some network situations come in where child agents get closed twice. 705 // some network situations come in where child agents get closed twice.
706 if (m_numChildAgents < 0) 706// if (m_numChildAgents < 0)
707 { 707// {
708 m_numChildAgents = 0; 708// m_numChildAgents = 0;
709 } 709// }
710 710
711 return m_numChildAgents; 711 return m_numChildAgents;
712 } 712 }