diff options
Diffstat (limited to 'OpenSim/Region/Environment/Scenes')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/Scene.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs index f69aabf..09992fd 100644 --- a/OpenSim/Region/Environment/Scenes/Scene.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.cs | |||
@@ -825,6 +825,10 @@ namespace OpenSim.Region.Environment.Scenes | |||
825 | { | 825 | { |
826 | presence.CoarseLocationChange(avatar); | 826 | presence.CoarseLocationChange(avatar); |
827 | presence.ControllingClient.SendKillObject(avatar.RegionHandle, avatar.LocalId); | 827 | presence.ControllingClient.SendKillObject(avatar.RegionHandle, avatar.LocalId); |
828 | if (presence.PhysActor != null) | ||
829 | { | ||
830 | phyScene.RemoveAvatar(presence.PhysActor); | ||
831 | } | ||
828 | }); | 832 | }); |
829 | 833 | ||
830 | lock (Avatars) | 834 | lock (Avatars) |