Fix a bug in owner change notification

slimupdates
Melanie 2010-05-03 02:40:52 +01:00
parent 75063e8f60
commit 1494c84f56
1 changed files with 3 additions and 1 deletions

View File

@ -1051,7 +1051,9 @@ namespace OpenSim.Region.Framework.Scenes
{
if (engine != null)
{
engine.PostScriptEvent(item.ItemID, "changed", new Object[] { Changed.OWNER });
if (item.OwnerChanged)
engine.PostScriptEvent(item.ItemID, "changed", new Object[] { (int)Changed.OWNER });
item.OwnerChanged = false;
engine.ResumeScript(item.ItemID);
}
}