Fix kicking of NPCs via "kick user" console command.

Needed to hook up the Close() function in the NPCAvatar IClientAPI implementation, which [unfortunately] is still needed
bulletsim
Justin Clark-Casey (justincc) 2011-08-12 00:51:05 +01:00
parent 0a1bbc27d2
commit 65c4b8d37b
1 changed files with 2 additions and 0 deletions

View File

@ -842,6 +842,8 @@ namespace OpenSim.Region.OptionalModules.World.NPC
public void Close()
{
// Remove ourselves from the scene
m_scene.RemoveClient(AgentId, false);
}
public void Start()