This commit message intentionally left blank (last commit was idiotic)

This commit is contained in:
Diva Canto
2013-07-22 14:35:14 -07:00
parent 261512606d
commit 879cbb4575

View File

@@ -1350,7 +1350,8 @@ namespace OpenSim.Region.Framework.Scenes
"[SCENE PRESENCE]: Completing movement of {0} into region {1} in position {2}",
client.Name, Scene.RegionInfo.RegionName, AbsolutePosition);
if ((m_teleportFlags & TeleportFlags.ViaLogin) != 0)
// Make sure it's not a login agent. We don't want to wait for updates during login
if ((m_teleportFlags & TeleportFlags.ViaLogin) == 0)
// Let's wait until UpdateAgent (called by departing region) is done
if (!WaitForUpdateAgent(client))
// The sending region never sent the UpdateAgent data, we have to refuse