diff options
Diffstat (limited to 'OpenSim/Region')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.cs | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs index 19cb0f8..eb2d6f0 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs | |||
@@ -4467,14 +4467,9 @@ namespace OpenSim.Region.Framework.Scenes | |||
4467 | sp.LifecycleState = ScenePresenceState.Removing; | 4467 | sp.LifecycleState = ScenePresenceState.Removing; |
4468 | } | 4468 | } |
4469 | 4469 | ||
4470 | if (sp != null) | 4470 | sp.ControllingClient.Close(force); |
4471 | { | ||
4472 | sp.ControllingClient.Close(force); | ||
4473 | return true; | ||
4474 | } | ||
4475 | 4471 | ||
4476 | // Agent not here | 4472 | return true; |
4477 | return false; | ||
4478 | } | 4473 | } |
4479 | 4474 | ||
4480 | /// <summary> | 4475 | /// <summary> |