diff options
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventManager.cs')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventManager.cs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventManager.cs b/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventManager.cs index 763cc76..2f2b384 100644 --- a/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventManager.cs +++ b/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventManager.cs | |||
@@ -90,7 +90,10 @@ namespace OpenSim.Region.ScriptEngine.Common.ScriptEngineBase | |||
90 | public void touch_start(uint localID, LLVector3 offsetPos, IClientAPI remoteClient) | 90 | public void touch_start(uint localID, LLVector3 offsetPos, IClientAPI remoteClient) |
91 | { | 91 | { |
92 | // Add to queue for all scripts in ObjectID object | 92 | // Add to queue for all scripts in ObjectID object |
93 | myScriptEngine.m_EventQueueManager.AddToObjectQueue(localID, "touch_start", EventQueueManager.llDetectNull, new object[] { (int)1 }); | 93 | EventQueueManager.Queue_llDetectParams_Struct detstruct = new EventQueueManager.Queue_llDetectParams_Struct(); |
94 | detstruct._key = new LSL_Types.key[1]; | ||
95 | detstruct._key[0] = new LSL_Types.key(remoteClient.AgentId.ToString()); | ||
96 | myScriptEngine.m_EventQueueManager.AddToObjectQueue(localID, "touch_start", detstruct, new object[] { (int)1 }); | ||
94 | } | 97 | } |
95 | 98 | ||
96 | public void OnRezScript(uint localID, LLUUID itemID, string script) | 99 | public void OnRezScript(uint localID, LLUUID itemID, string script) |