mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 01:06:30 +08:00
Comment out unused call to GridService in TeleportAgent()
This commit is contained in:
@@ -702,7 +702,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
|||||||
// and convert the regionName to the target region
|
// and convert the regionName to the target region
|
||||||
if (regionName.Contains(".") && regionName.Contains(":"))
|
if (regionName.Contains(".") && regionName.Contains(":"))
|
||||||
{
|
{
|
||||||
List<GridRegion> regions = World.GridService.GetRegionsByName(World.RegionInfo.ScopeID, regionName, 1);
|
// List<GridRegion> regions = World.GridService.GetRegionsByName(World.RegionInfo.ScopeID, regionName, 1);
|
||||||
string[] parts = regionName.Split(new char[] { ':' });
|
string[] parts = regionName.Split(new char[] { ':' });
|
||||||
if (parts.Length > 2)
|
if (parts.Length > 2)
|
||||||
regionName = parts[0] + ':' + parts[1] + "/ " + parts[2];
|
regionName = parts[0] + ':' + parts[1] + "/ " + parts[2];
|
||||||
|
|||||||
Reference in New Issue
Block a user