aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs6
1 files changed, 6 insertions, 0 deletions
diff --git a/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs b/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs
index 6f18e1c..6cfd332 100644
--- a/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs
+++ b/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs
@@ -1132,10 +1132,16 @@ namespace OpenSim.Region.CoreModules.Framework.EntityTransfer
1132 bool isFlying, string version) 1132 bool isFlying, string version)
1133 { 1133 {
1134 if (!CrossAgentToNewRegionPrep(agent, neighbourRegion)) 1134 if (!CrossAgentToNewRegionPrep(agent, neighbourRegion))
1135 {
1136 m_entityTransferStateMachine.ResetFromTransit(agent.UUID);
1135 return agent; 1137 return agent;
1138 }
1136 1139
1137 if (!CrossAgentIntoNewRegionMain(agent, pos, neighbourRegion, isFlying)) 1140 if (!CrossAgentIntoNewRegionMain(agent, pos, neighbourRegion, isFlying))
1141 {
1142 m_entityTransferStateMachine.ResetFromTransit(agent.UUID);
1138 return agent; 1143 return agent;
1144 }
1139 1145
1140 CrossAgentToNewRegionPost(agent, pos, neighbourRegion, isFlying, version); 1146 CrossAgentToNewRegionPost(agent, pos, neighbourRegion, isFlying, version);
1141 return agent; 1147 return agent;