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
|
@ -4014,14 +4014,17 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
|||
bucket);
|
||||
|
||||
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
|
||||
{
|
||||
// destination is an object
|
||||
World.MoveTaskInventoryItem(destId, m_host, objId);
|
||||
}
|
||||
ScriptSleep(3000);
|
||||
|
||||
}
|
||||
|
||||
[DebuggerNonUserCode]
|
||||
|
|
Loading…
Reference in New Issue