diff options
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index e6cc798..f47b3eb 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | |||
@@ -4405,7 +4405,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
4405 | { | 4405 | { |
4406 | try | 4406 | try |
4407 | { | 4407 | { |
4408 | SceneObjectPart obj = World.GetSceneObjectPart(World.Entities[key].LocalId); | 4408 | SceneObjectPart obj = World.GetSceneObjectPart(key); |
4409 | if (obj == null) | 4409 | if (obj == null) |
4410 | return id; // the key is for an agent so just return the key | 4410 | return id; // the key is for an agent so just return the key |
4411 | else | 4411 | else |