Fix a bug in owner change notification
parent
8766401777
commit
9c8d7d34b3
|
@ -1180,7 +1180,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