mirror of
https://github.com/opensim/opensim.git
synced 2026-08-08 02:05:34 +08:00
When a shared module hooks OnClientClosed, it has no way of finding
out which client connection has closed. So, in multi-region sims, things can get messy fast. This introduces a second parameters, which is a Scene object ref. Minor adjustments to custom modules may be required due to this change.
This commit is contained in:
@@ -287,7 +287,7 @@ namespace OpenSim.Region.CoreModules.World.WorldMap
|
||||
/// Event handler
|
||||
/// </summary>
|
||||
/// <param name="AgentId">AgentID that logged out</param>
|
||||
private void ClientLoggedOut(UUID AgentId)
|
||||
private void ClientLoggedOut(UUID AgentId, Scene scene)
|
||||
{
|
||||
List<ScenePresence> presences = m_scene.GetAvatars();
|
||||
int rootcount = 0;
|
||||
|
||||
Reference in New Issue
Block a user