fix missing check for viaHGLogin

This commit is contained in:
UbitUmarov
2015-09-15 22:24:50 +01:00
parent 19c5f9ce1d
commit 3906bb2749

View File

@@ -1786,7 +1786,7 @@ namespace OpenSim.Region.Framework.Scenes
try
{
// Make sure it's not a login agent. We don't want to wait for updates during login
if (!isNPC && (m_teleportFlags & TeleportFlags.ViaLogin) == 0)
if (!isNPC && !IsRealLogin(m_teleportFlags))
{
// Let's wait until UpdateAgent (called by departing region) is done
@@ -1956,7 +1956,7 @@ namespace OpenSim.Region.Framework.Scenes
// attachments
if (isNPC || (TeleportFlags & TeleportFlags.ViaLogin) != 0)
if (isNPC || IsRealLogin(m_teleportFlags))
{
if (Scene.AttachmentsModule != null)
// Util.FireAndForget(