diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.cs | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs index a77f26b..a804e29 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs | |||
@@ -4233,16 +4233,6 @@ namespace OpenSim.Region.Framework.Scenes | |||
4233 | ScenePresence presence = m_sceneGraph.GetScenePresence(agentID); | 4233 | ScenePresence presence = m_sceneGraph.GetScenePresence(agentID); |
4234 | if (presence != null) | 4234 | if (presence != null) |
4235 | { | 4235 | { |
4236 | // Nothing is removed here, so down count it as such | ||
4237 | if (presence.IsChildAgent) | ||
4238 | { | ||
4239 | m_sceneGraph.removeUserCount(false); | ||
4240 | } | ||
4241 | else if (!childOnly) | ||
4242 | { | ||
4243 | m_sceneGraph.removeUserCount(true); | ||
4244 | } | ||
4245 | |||
4246 | presence.ControllingClient.Close(); | 4236 | presence.ControllingClient.Close(); |
4247 | return true; | 4237 | return true; |
4248 | } | 4238 | } |