Change llGetOwnerKey to use another overload of GetSceneObject.

Fixes Mantis #3326
0.6.5-rc1
Melanie Thielker 2009-03-24 22:12:48 +00:00
parent 6cad71d5ec
commit fb5f702e78
1 changed files with 1 additions and 1 deletions

View File

@ -4405,7 +4405,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
{ {
try try
{ {
SceneObjectPart obj = World.GetSceneObjectPart(World.Entities[key].LocalId); SceneObjectPart obj = World.GetSceneObjectPart(key);
if (obj == null) if (obj == null)
return id; // the key is for an agent so just return the key return id; // the key is for an agent so just return the key
else else