timming issues on fast tp back to same region on new code

0.9.1.0-post-fixes
UbitUmarov 2019-03-27 06:43:22 +00:00
parent 83fd05f131
commit dad533fe1c
1 changed files with 9 additions and 0 deletions

View File

@ -12700,6 +12700,15 @@ namespace OpenSim.Region.ClientStack.LindenUDP
private bool HandleUseCircuitCode(IClientAPI sender, Packet Pack)
{
UseCircuitCodePacket uccp = (UseCircuitCodePacket)Pack;
if(uccp.CircuitCode.ID == m_agentId &&
uccp.CircuitCode.SessionID == m_sessionId &&
uccp.CircuitCode.Code == m_circuitCode &&
SceneAgent != null &&
!((ScenePresence)SceneAgent).IsDeleted
)
SendRegionHandshake(); // possible someone returning
return true;
}