mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 16:22:50 +08:00
refactor: rename Scene.IncomingCloseAgent() to CloseAgent() in order to make it clear that all non-clientstack callers should be using this rather than RemoveClient() in order to step through the ScenePresence state machine properly.
Adds IScene.CloseAgent() to replace RemoveClient()
This commit is contained in:
@@ -384,7 +384,7 @@ namespace OpenSim.Region.OptionalModules.World.NPC
|
||||
agentID, av.Name);
|
||||
*/
|
||||
|
||||
scene.IncomingCloseAgent(agentID, false);
|
||||
scene.CloseAgent(agentID, false);
|
||||
|
||||
m_avatars.Remove(agentID);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user