aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region')
-rw-r--r--OpenSim/Region/Environment/Scenes/Scene.cs17
1 files changed, 9 insertions, 8 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs
index 0bd0028..2b8bbbd 100644
--- a/OpenSim/Region/Environment/Scenes/Scene.cs
+++ b/OpenSim/Region/Environment/Scenes/Scene.cs
@@ -2767,14 +2767,15 @@ namespace OpenSim.Region.Environment.Scenes
2767 ScenePresence presence = m_innerScene.GetScenePresence(agentID); 2767 ScenePresence presence = m_innerScene.GetScenePresence(agentID);
2768 if (presence != null) 2768 if (presence != null)
2769 { 2769 {
2770 if (presence.IsChildAgent) 2770 // Nothing is removed here, so down count it as such
2771 { 2771 // if (presence.IsChildAgent)
2772 m_innerScene.removeUserCount(false); 2772 // {
2773 } 2773 // m_innerScene.removeUserCount(false);
2774 else 2774 // }
2775 { 2775 // else
2776 m_innerScene.removeUserCount(true); 2776 // {
2777 } 2777 // m_innerScene.removeUserCount(true);
2778 // }
2778 2779
2779 // Tell a single agent to disconnect from the region. 2780 // Tell a single agent to disconnect from the region.
2780 presence.ControllingClient.SendShutdownConnectionNotice(); 2781 presence.ControllingClient.SendShutdownConnectionNotice();