diff options
Diffstat (limited to 'OpenSim/Region')
-rw-r--r-- | OpenSim/Region/ScriptEngine/DotNetEngine/EventQueueManager.cs | 5 |
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; | |||
33 | using System.Reflection; | 33 | using System.Reflection; |
34 | using OpenSim.Region.Environment.Scenes.Scripting; | 34 | using OpenSim.Region.Environment.Scenes.Scripting; |
35 | using libsecondlife; | 35 | using libsecondlife; |
36 | using OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL; | ||
36 | 37 | ||
37 | namespace OpenSim.Region.ScriptEngine.DotNetEngine | 38 | namespace 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? |