diff --git a/OpenSim/Region/Environment/Scenes/InnerScene.cs b/OpenSim/Region/Environment/Scenes/InnerScene.cs index b6ba706c33..f96eafb177 100644 --- a/OpenSim/Region/Environment/Scenes/InnerScene.cs +++ b/OpenSim/Region/Environment/Scenes/InnerScene.cs @@ -825,14 +825,7 @@ namespace OpenSim.Region.Environment.Scenes /// protected internal List GetEntities() { - List result; - - lock (Entities) - { - result = new List(Entities.Values); - } - - return result; + return new List(Entities.Values); } protected internal Dictionary GetTopScripts()