Add comment about setting client.SceneAgent in AddNewClient()
parent
d9f7b8549b
commit
964cae4f37
|
@ -2670,7 +2670,10 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
sp.IsChildAgent ? "child" : "root", sp.Name, RegionInfo.RegionName);
|
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;
|
client.SceneAgent = sp;
|
||||||
|
|
||||||
m_LastLogin = Util.EnvironmentTickCount();
|
m_LastLogin = Util.EnvironmentTickCount();
|
||||||
|
|
||||||
// Cache the user's name
|
// Cache the user's name
|
||||||
|
|
Loading…
Reference in New Issue