change a few more parcel eject code paths

This commit is contained in:
UbitUmarov
2017-08-24 01:47:01 +01:00
parent 1a7c8893ee
commit c5802c9460
3 changed files with 3 additions and 3 deletions

View File

@@ -1886,7 +1886,7 @@ namespace OpenSim.Region.CoreModules.World.Land
if (land.LandData.LocalID == LandData.LocalID)
{
Vector3 pos = m_scene.GetNearestAllowedPosition(presence, land);
presence.TeleportWithMomentum(pos, null);
presence.TeleportOnEject(pos);
presence.ControllingClient.SendAlertMessage("You have been ejected from this land");
}
}