Add comment about setting client.SceneAgent in AddNewClient()

This commit is contained in:
Justin Clark-Casey (justincc)
2012-03-29 00:21:14 +01:00
parent d9f7b8549b
commit 964cae4f37

View File

@@ -2670,7 +2670,10 @@ namespace OpenSim.Region.Framework.Scenes
sp.IsChildAgent ? "child" : "root", sp.Name, RegionInfo.RegionName);
}
// We must set this here so that TriggerOnNewClient and TriggerOnClientLogin can determine whether the
// client is for a root or child agent.
client.SceneAgent = sp;
m_LastLogin = Util.EnvironmentTickCount();
// Cache the user's name