aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/ScriptEngine/DotNetEngine/EventQueueManager.cs5
1 files changed, 4 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/DotNetEngine/EventQueueManager.cs b/OpenSim/Region/ScriptEngine/DotNetEngine/EventQueueManager.cs
index 22e22fb..dde0a77 100644
--- a/OpenSim/Region/ScriptEngine/DotNetEngine/EventQueueManager.cs
+++ b/OpenSim/Region/ScriptEngine/DotNetEngine/EventQueueManager.cs
@@ -33,6 +33,7 @@ using System.Threading;
33using System.Reflection; 33using System.Reflection;
34using OpenSim.Region.Environment.Scenes.Scripting; 34using OpenSim.Region.Environment.Scenes.Scripting;
35using libsecondlife; 35using libsecondlife;
36using OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL;
36 37
37namespace OpenSim.Region.ScriptEngine.DotNetEngine 38namespace OpenSim.Region.ScriptEngine.DotNetEngine
38{ 39{
@@ -282,7 +283,9 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine
282 return; 283 return;
283 } 284 }
284 285
285 foreach (LLUUID itemID in new System.Collections.ArrayList(myScriptEngine.myScriptManager.GetScriptKeys(localID))) 286 Dictionary<LLUUID, LSL_BaseClass>.KeyCollection scriptKeys = myScriptEngine.myScriptManager.GetScriptKeys(localID);
287
288 foreach ( LLUUID itemID in scriptKeys )
286 { 289 {
287 // Add to each script in that object 290 // Add to each script in that object
288 // TODO: Some scripts may not subscribe to this event. Should we NOT add it? Does it matter? 291 // TODO: Some scripts may not subscribe to this event. Should we NOT add it? Does it matter?