diff options
Diffstat (limited to 'OpenSim/Region')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/ScenePresence.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index 6210db0..f63fa71 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs | |||
@@ -1786,7 +1786,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1786 | try | 1786 | try |
1787 | { | 1787 | { |
1788 | // Make sure it's not a login agent. We don't want to wait for updates during login | 1788 | // Make sure it's not a login agent. We don't want to wait for updates during login |
1789 | if (!isNPC && (m_teleportFlags & TeleportFlags.ViaLogin) == 0) | 1789 | if (!isNPC && !IsRealLogin(m_teleportFlags)) |
1790 | { | 1790 | { |
1791 | 1791 | ||
1792 | // Let's wait until UpdateAgent (called by departing region) is done | 1792 | // Let's wait until UpdateAgent (called by departing region) is done |
@@ -1956,7 +1956,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1956 | 1956 | ||
1957 | // attachments | 1957 | // attachments |
1958 | 1958 | ||
1959 | if (isNPC || (TeleportFlags & TeleportFlags.ViaLogin) != 0) | 1959 | if (isNPC || IsRealLogin(m_teleportFlags)) |
1960 | { | 1960 | { |
1961 | if (Scene.AttachmentsModule != null) | 1961 | if (Scene.AttachmentsModule != null) |
1962 | // Util.FireAndForget( | 1962 | // Util.FireAndForget( |