add missing sit check

avinationmerge
UbitUmarov 2015-09-21 19:56:59 +01:00
parent c7b1d52e29
commit 04800a7570
1 changed files with 2 additions and 1 deletions

View File

@ -2634,7 +2634,8 @@ namespace OpenSim.Region.Framework.Scenes
List<ScenePresence> avatars = group.GetSittingAvatars(); List<ScenePresence> avatars = group.GetSittingAvatars();
foreach (ScenePresence av in avatars) foreach (ScenePresence av in avatars)
{ {
av.StandUp(); if(av.ParentUUID == UUID.Zero)
av.StandUp();
} }
SceneObjectPart[] partList = group.Parts; SceneObjectPart[] partList = group.Parts;