aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs2
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 1529140..2a23c59 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
@@ -4186,7 +4186,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
4186 // Single prim 4186 // Single prim
4187 if (m_host.LinkNum == 0) 4187 if (m_host.LinkNum == 0)
4188 { 4188 {
4189 if (linknum == 0) 4189 if (linknum == 0 || linknum == ScriptBaseClass.LINK_ROOT)
4190 return m_host.Name; 4190 return m_host.Name;
4191 else 4191 else
4192 return UUID.Zero.ToString(); 4192 return UUID.Zero.ToString();