aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/OptionalModules/World/NPC/NPCAvatar.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/OptionalModules/World/NPC/NPCAvatar.cs')
-rw-r--r--OpenSim/Region/OptionalModules/World/NPC/NPCAvatar.cs6
1 files changed, 4 insertions, 2 deletions
diff --git a/OpenSim/Region/OptionalModules/World/NPC/NPCAvatar.cs b/OpenSim/Region/OptionalModules/World/NPC/NPCAvatar.cs
index 7c693b6..bb3748e 100644
--- a/OpenSim/Region/OptionalModules/World/NPC/NPCAvatar.cs
+++ b/OpenSim/Region/OptionalModules/World/NPC/NPCAvatar.cs
@@ -909,11 +909,13 @@ namespace OpenSim.Region.OptionalModules.World.NPC
909 909
910 public void Close() 910 public void Close()
911 { 911 {
912 Close(true); 912 Close(true, false);
913 } 913 }
914 914
915 public void Close(bool sendStop) 915 public void Close(bool sendStop, bool force)
916 { 916 {
917 // Remove ourselves from the scene
918 m_scene.RemoveClient(AgentId, false);
917 } 919 }
918 920
919 public void Start() 921 public void Start()