Improve the opening test in CompleteMovement, to account for multiple flags besides ViaLogin.
parent
d5f8b7924c
commit
a2a05d470e
|
@ -1331,7 +1331,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
"[SCENE PRESENCE]: Completing movement of {0} into region {1} in position {2}",
|
"[SCENE PRESENCE]: Completing movement of {0} into region {1} in position {2}",
|
||||||
client.Name, Scene.RegionInfo.RegionName, AbsolutePosition);
|
client.Name, Scene.RegionInfo.RegionName, AbsolutePosition);
|
||||||
|
|
||||||
if (m_teleportFlags != TeleportFlags.ViaLogin)
|
if ((m_teleportFlags & TeleportFlags.ViaLogin) != 0)
|
||||||
// Let's wait until UpdateAgent (called by departing region) is done
|
// Let's wait until UpdateAgent (called by departing region) is done
|
||||||
if (!WaitForUpdateAgent(client))
|
if (!WaitForUpdateAgent(client))
|
||||||
// The sending region never sent the UpdateAgent data, we have to refuse
|
// The sending region never sent the UpdateAgent data, we have to refuse
|
||||||
|
|
Loading…
Reference in New Issue