Add comment about setting client.SceneAgent in AddNewClient()

0.7.4.1
Justin Clark-Casey (justincc) 2012-03-29 00:21:14 +01:00
parent d9f7b8549b
commit 964cae4f37
1 changed files with 3 additions and 0 deletions

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