minor: add comment explaining that GetRegionsByName needs to stay in TeleportAgent for its side effects.
parent
03d82a5a85
commit
9801bf03f8
|
@ -702,6 +702,8 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
|||
// and convert the regionName to the target region
|
||||
if (regionName.Contains(".") && regionName.Contains(":"))
|
||||
{
|
||||
// Even though we use none of the results, we need to perform this call because it appears
|
||||
// to have some the side effect of setting up hypergrid teleport locations.
|
||||
World.GridService.GetRegionsByName(World.RegionInfo.ScopeID, regionName, 1);
|
||||
// List<GridRegion> regions = World.GridService.GetRegionsByName(World.RegionInfo.ScopeID, regionName, 1);
|
||||
|
||||
|
|
Loading…
Reference in New Issue