Fix a bug in owner change notification
parent
75063e8f60
commit
1494c84f56
|
@ -1051,7 +1051,9 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
{
|
{
|
||||||
if (engine != null)
|
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);
|
engine.ResumeScript(item.ItemID);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue