timming issues on fast tp back to same region on new code
timming issues on fast tp back to same region on new code
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
index 67c5e38..6b70922 100644
--- a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
+++ b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
@@ -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;
}