diff options
Diffstat (limited to 'OpenSim/Region')
-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 0bdf664..f767c64 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | |||
@@ -8447,7 +8447,12 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
8447 | 8447 | ||
8448 | string reply = String.Empty; | 8448 | string reply = String.Empty; |
8449 | 8449 | ||
8450 | GridRegion info = m_ScriptEngine.World.GridService.GetRegionByName(m_ScriptEngine.World.RegionInfo.ScopeID, simulator); | 8450 | GridRegion info; |
8451 | |||
8452 | if (m_ScriptEngine.World.RegionInfo.RegionName == simulator) | ||
8453 | info = new GridRegion(m_ScriptEngine.World.RegionInfo); | ||
8454 | else | ||
8455 | info = m_ScriptEngine.World.GridService.GetRegionByName(m_ScriptEngine.World.RegionInfo.ScopeID, simulator); | ||
8451 | 8456 | ||
8452 | switch (data) | 8457 | switch (data) |
8453 | { | 8458 | { |