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,6 +2634,7 @@ 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)
{ {
if(av.ParentUUID == UUID.Zero)
av.StandUp(); av.StandUp();
} }