diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneObjectPart.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs index c549f5c..b427c1a 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | |||
@@ -5638,8 +5638,8 @@ namespace OpenSim.Region.Framework.Scenes | |||
5638 | if (m_sittingAvatars.Count == 0) | 5638 | if (m_sittingAvatars.Count == 0) |
5639 | m_sittingAvatars = null; | 5639 | m_sittingAvatars = null; |
5640 | 5640 | ||
5641 | ParentGroup.m_sittingAvatars.Remove(sp); | 5641 | if(ParentGroup.m_sittingAvatars.Remove(sp)) |
5642 | 5642 | ParentGroup.InvalidatePartsLinkMaps(false); | |
5643 | return true; | 5643 | return true; |
5644 | } | 5644 | } |
5645 | 5645 | ||