aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/ScriptEngine')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs7
1 files changed, 6 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 97dd2e1..22a81ac 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
@@ -9147,7 +9147,12 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
9147 9147
9148 string reply = String.Empty; 9148 string reply = String.Empty;
9149 9149
9150 GridRegion info = m_ScriptEngine.World.GridService.GetRegionByName(m_ScriptEngine.World.RegionInfo.ScopeID, simulator); 9150 GridRegion info;
9151
9152 if (m_ScriptEngine.World.RegionInfo.RegionName == simulator)
9153 info = new GridRegion(m_ScriptEngine.World.RegionInfo);
9154 else
9155 info = m_ScriptEngine.World.GridService.GetRegionByName(m_ScriptEngine.World.RegionInfo.ScopeID, simulator);
9151 9156
9152 switch (data) 9157 switch (data)
9153 { 9158 {