mirror of
https://github.com/opensim/opensim.git
synced 2026-07-14 19:55:35 +08:00
minor: add comment explaining that GetRegionsByName needs to stay in TeleportAgent for its side effects.
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user