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 17503b1..9048f00 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs | |||
@@ -4039,16 +4039,6 @@ namespace OpenSim.Region.Framework.Scenes | |||
4039 | ScenePresence presence = m_sceneGraph.GetScenePresence(agentID); | 4039 | ScenePresence presence = m_sceneGraph.GetScenePresence(agentID); |
4040 | if (presence != null) | 4040 | if (presence != null) |
4041 | { | 4041 | { |
4042 | // Nothing is removed here, so down count it as such | ||
4043 | if (presence.IsChildAgent) | ||
4044 | { | ||
4045 | m_sceneGraph.removeUserCount(false); | ||
4046 | } | ||
4047 | else | ||
4048 | { | ||
4049 | m_sceneGraph.removeUserCount(true); | ||
4050 | } | ||
4051 | |||
4052 | presence.ControllingClient.Close(); | 4042 | presence.ControllingClient.Close(); |
4053 | return true; | 4043 | return true; |
4054 | } | 4044 | } |