Fix: Object owned by the group does not return to the last owner http://opensimulator.org/mantis/view.php?id=5404

This commit is contained in:
PixelTomsen
2012-02-16 00:07:12 +01:00
committed by Justin Clark-Casey (justincc)
parent 1267094a51
commit 4486b7d8e8
3 changed files with 8 additions and 2 deletions

View File

@@ -1926,7 +1926,7 @@ namespace OpenSim.Region.Framework.Scenes
foreach (SceneObjectGroup g in deleteGroups)
{
AddReturn(g.OwnerID, g.Name, g.AbsolutePosition, "parcel owner return");
AddReturn(g.OwnerID == g.GroupID ? g.LastOwnerID : g.OwnerID, g.Name, g.AbsolutePosition, "parcel owner return");
}
}
}