diff options
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 7 |
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 d38fe9f..b6eddb1 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | |||
@@ -8720,7 +8720,12 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
8720 | 8720 | ||
8721 | string reply = String.Empty; | 8721 | string reply = String.Empty; |
8722 | 8722 | ||
8723 | GridRegion info = m_ScriptEngine.World.GridService.GetRegionByName(m_ScriptEngine.World.RegionInfo.ScopeID, simulator); | 8723 | GridRegion info; |
8724 | |||
8725 | if (m_ScriptEngine.World.RegionInfo.RegionName == simulator) | ||
8726 | info = new GridRegion(m_ScriptEngine.World.RegionInfo); | ||
8727 | else | ||
8728 | info = m_ScriptEngine.World.GridService.GetRegionByName(m_ScriptEngine.World.RegionInfo.ScopeID, simulator); | ||
8724 | 8729 | ||
8725 | switch (data) | 8730 | switch (data) |
8726 | { | 8731 | { |