Fix the delay in llGiveInventory so that it only takes effect when giving inventory to an avatar (this now replicates SL behaviour)
parent
1379ae4310
commit
80e4068b3e
|
@ -4015,13 +4015,16 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||||
|
|
||||||
if (m_TransferModule != null)
|
if (m_TransferModule != null)
|
||||||
m_TransferModule.SendInstantMessage(msg, delegate(bool success) {});
|
m_TransferModule.SendInstantMessage(msg, delegate(bool success) {});
|
||||||
|
|
||||||
|
//This delay should only occur when giving inventory to avatars.
|
||||||
|
ScriptSleep(3000);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
// destination is an object
|
// destination is an object
|
||||||
World.MoveTaskInventoryItem(destId, m_host, objId);
|
World.MoveTaskInventoryItem(destId, m_host, objId);
|
||||||
}
|
}
|
||||||
ScriptSleep(3000);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
[DebuggerNonUserCode]
|
[DebuggerNonUserCode]
|
||||||
|
|
Loading…
Reference in New Issue