do not do chained hg teleports

This commit is contained in:
UbitUmarov
2024-03-31 00:44:50 +00:00
parent 723a528b58
commit 0d1b14c78f
7 changed files with 62 additions and 13 deletions

View File

@@ -222,7 +222,7 @@ namespace OpenSim.Services.HypergridService
}
}
public bool LinkRegion(string regionName, out UUID regionID, out ulong regionHandle, out string externalName, out string imageURL, out string reason, out int sizeX, out int sizeY)
public bool LinkLocalRegion(string regionName, out UUID regionID, out ulong regionHandle, out string externalName, out string imageURL, out string reason, out int sizeX, out int sizeY)
{
regionID = UUID.Zero;
regionHandle = 0;
@@ -251,7 +251,7 @@ namespace OpenSim.Services.HypergridService
}
else
{
region = m_GridService.GetRegionByName(m_ScopeID, regionName);
region = m_GridService.GetLocalRegionByName(m_ScopeID, regionName);
if (region is null)
{
reason = "Region not found";