diff options
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index 95c0fdd..f67f422 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | |||
@@ -2401,7 +2401,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
2401 | public string llGetKey() | 2401 | public string llGetKey() |
2402 | { | 2402 | { |
2403 | m_host.AddScriptLPS(1); | 2403 | m_host.AddScriptLPS(1); |
2404 | return m_host.ToString(); | 2404 | return m_host.UUID.ToString(); |
2405 | } | 2405 | } |
2406 | 2406 | ||
2407 | public void llSetBuoyancy(double buoyancy) | 2407 | public void llSetBuoyancy(double buoyancy) |
@@ -2862,7 +2862,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
2862 | SceneObjectPart part = m_host.ParentGroup.GetLinkNumPart(linknum); | 2862 | SceneObjectPart part = m_host.ParentGroup.GetLinkNumPart(linknum); |
2863 | if (part != null) | 2863 | if (part != null) |
2864 | { | 2864 | { |
2865 | return part.ToString(); | 2865 | return part.UUID.ToString(); |
2866 | } | 2866 | } |
2867 | else | 2867 | else |
2868 | { | 2868 | { |