aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim.RegionServer/world/World.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim.RegionServer/world/World.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim.RegionServer/world/World.cs b/OpenSim.RegionServer/world/World.cs
index e89f8f4..4dfe0e9 100644
--- a/OpenSim.RegionServer/world/World.cs
+++ b/OpenSim.RegionServer/world/World.cs
@@ -600,6 +600,10 @@ namespace OpenSim.world
600 { 600 {
601 Avatars.Remove(agentClient.AgentID); 601 Avatars.Remove(agentClient.AgentID);
602 } 602 }
603 if (agentClient.ClientAvatar.PhysActor != null)
604 {
605 this.phyScene.RemoveAvatar(agentClient.ClientAvatar.PhysActor);
606 }
603 } 607 }
604 catch (Exception e) 608 catch (Exception e)
605 { 609 {