aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Framework/Scenes')
-rw-r--r--OpenSim/Region/Framework/Scenes/Scene.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs
index deeb817..a90caa9 100644
--- a/OpenSim/Region/Framework/Scenes/Scene.cs
+++ b/OpenSim/Region/Framework/Scenes/Scene.cs
@@ -1428,9 +1428,9 @@ namespace OpenSim.Region.Framework.Scenes
1428 1428
1429 private void CheckAtTargets() 1429 private void CheckAtTargets()
1430 { 1430 {
1431 Dictionary<UUID, SceneObjectGroup>.ValueCollection objs; 1431 List<SceneObjectGroup> objs = new List<SceneObjectGroup>();
1432 lock (m_groupsWithTargets) 1432 lock (m_groupsWithTargets)
1433 objs = m_groupsWithTargets.Values; 1433 objs = new List<SceneObjectGroup>(m_groupsWithTargets.Values);
1434 1434
1435 foreach (SceneObjectGroup entry in objs) 1435 foreach (SceneObjectGroup entry in objs)
1436 entry.checkAtTargets(); 1436 entry.checkAtTargets();