diff options
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index 7ccd71c..17dca98 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | |||
@@ -788,10 +788,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
788 | } | 788 | } |
789 | 789 | ||
790 | EntityBase SensedObject; | 790 | EntityBase SensedObject; |
791 | lock (World.Entities) | 791 | World.Entities.TryGetValue(objecUUID, out SensedObject); |
792 | { | ||
793 | World.Entities.TryGetValue(objecUUID, out SensedObject); | ||
794 | } | ||
795 | 792 | ||
796 | if (SensedObject == null) | 793 | if (SensedObject == null) |
797 | return String.Empty; | 794 | return String.Empty; |