diff options
Merge branch 'ubitwork' of ssh://3dhosting.de/var/git/careminster into ubitwork
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Scene.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs index 0dae946..8034bc6 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs | |||
@@ -4274,7 +4274,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
4274 | /// <param name='agentID'></param> | 4274 | /// <param name='agentID'></param> |
4275 | protected virtual ScenePresence WaitGetScenePresence(UUID agentID) | 4275 | protected virtual ScenePresence WaitGetScenePresence(UUID agentID) |
4276 | { | 4276 | { |
4277 | int ntimes = 20; | 4277 | int ntimes = 30; |
4278 | ScenePresence sp = null; | 4278 | ScenePresence sp = null; |
4279 | while ((sp = GetScenePresence(agentID)) == null && (ntimes-- > 0)) | 4279 | while ((sp = GetScenePresence(agentID)) == null && (ntimes-- > 0)) |
4280 | Thread.Sleep(1000); | 4280 | Thread.Sleep(1000); |
@@ -4326,7 +4326,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
4326 | ScenePresence presence = m_sceneGraph.GetScenePresence(agentID); | 4326 | ScenePresence presence = m_sceneGraph.GetScenePresence(agentID); |
4327 | if (presence != null) | 4327 | if (presence != null) |
4328 | { | 4328 | { |
4329 | presence.ControllingClient.Close(); | 4329 | presence.ControllingClient.Close(false); |
4330 | return true; | 4330 | return true; |
4331 | } | 4331 | } |
4332 | 4332 | ||