Remove an unnecessary check at the bottom of Scene.CloseAgent()
At this point sp != null so no check required.ghosts
parent
0448935b1b
commit
6b05cfce25
|
@ -4467,14 +4467,9 @@ namespace OpenSim.Region.Framework.Scenes
|
|||
sp.LifecycleState = ScenePresenceState.Removing;
|
||||
}
|
||||
|
||||
if (sp != null)
|
||||
{
|
||||
sp.ControllingClient.Close(force);
|
||||
return true;
|
||||
}
|
||||
|
||||
// Agent not here
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
Loading…
Reference in New Issue