Fix a bug in owner change notification

avinationmerge
Melanie Thielker 2010-05-03 04:55:41 +02:00
parent 8766401777
commit 9c8d7d34b3
1 changed files with 3 additions and 1 deletions

View File

@ -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);
} }
} }