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