Make the agent being kicked a child agent first so there won't be a ghost
parent
a97436f2f1
commit
a76ce4f64d
|
@ -256,7 +256,8 @@ namespace OpenSim.Region.CoreModules.Avatar.Gods
|
|||
if (sp.IsChildAgent)
|
||||
return;
|
||||
sp.ControllingClient.Kick(reason);
|
||||
sp.Scene.IncomingCloseAgent(sp.UUID);
|
||||
sp.MakeChildAgent();
|
||||
sp.ControllingClient.Close();
|
||||
}
|
||||
|
||||
private void OnIncomingInstantMessage(GridInstantMessage msg)
|
||||
|
|
Loading…
Reference in New Issue