aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/OptionalModules
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/OptionalModules')
-rw-r--r--OpenSim/Region/OptionalModules/World/NPC/NPCModule.cs4
1 files changed, 3 insertions, 1 deletions
diff --git a/OpenSim/Region/OptionalModules/World/NPC/NPCModule.cs b/OpenSim/Region/OptionalModules/World/NPC/NPCModule.cs
index 69189b3..c26fdfc 100644
--- a/OpenSim/Region/OptionalModules/World/NPC/NPCModule.cs
+++ b/OpenSim/Region/OptionalModules/World/NPC/NPCModule.cs
@@ -385,7 +385,9 @@ namespace OpenSim.Region.OptionalModules.World.NPC
385 m_log.DebugFormat("[NPC MODULE]: Found {0} {1} to remove", 385 m_log.DebugFormat("[NPC MODULE]: Found {0} {1} to remove",
386 agentID, av.Name); 386 agentID, av.Name);
387 */ 387 */
388 scene.RemoveClient(agentID, false); 388
389 scene.IncomingCloseAgent(agentID, false);
390// scene.RemoveClient(agentID, false);
389 m_avatars.Remove(agentID); 391 m_avatars.Remove(agentID);
390 /* 392 /*
391 m_log.DebugFormat("[NPC MODULE]: Removed NPC {0} {1}", 393 m_log.DebugFormat("[NPC MODULE]: Removed NPC {0} {1}",