diff options
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index 83f7db0..8e5c203 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | |||
@@ -4016,14 +4016,17 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
4016 | bucket); | 4016 | bucket); |
4017 | 4017 | ||
4018 | if (m_TransferModule != null) | 4018 | if (m_TransferModule != null) |
4019 | m_TransferModule.SendInstantMessage(msg, delegate(bool success) {}); | 4019 | m_TransferModule.SendInstantMessage(msg, delegate(bool success) {}); |
4020 | |||
4021 | //This delay should only occur when giving inventory to avatars. | ||
4022 | ScriptSleep(3000); | ||
4020 | } | 4023 | } |
4021 | else | 4024 | else |
4022 | { | 4025 | { |
4023 | // destination is an object | 4026 | // destination is an object |
4024 | World.MoveTaskInventoryItem(destId, m_host, objId); | 4027 | World.MoveTaskInventoryItem(destId, m_host, objId); |
4025 | } | 4028 | } |
4026 | ScriptSleep(3000); | 4029 | |
4027 | } | 4030 | } |
4028 | 4031 | ||
4029 | [DebuggerNonUserCode] | 4032 | [DebuggerNonUserCode] |