viewers do caps before knowing where they are. Tell them to take a walk and try later on 2 cases

This commit is contained in:
UbitUmarov
2020-10-11 17:56:20 +01:00
parent 511012dc50
commit 3e5813a0c3
2 changed files with 19 additions and 26 deletions

View File

@@ -307,6 +307,14 @@ namespace OpenSim.Region.ClientStack.Linden
return;
}
ScenePresence sp = m_scene.GetScenePresence(agentID);
if (sp == null)
{
response.StatusCode = (int)HttpStatusCode.ServiceUnavailable;
response.AddHeader("Retry-After", "5");
return;
}
OSDMap copy = DeepCopy();
// Let's add the agentID to the destination guide, if it is expecting that.