diff options
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index b810ffb..fa32986 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | |||
@@ -6827,7 +6827,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
6827 | if (m_host.OwnerID == land.LandData.OwnerID) | 6827 | if (m_host.OwnerID == land.LandData.OwnerID) |
6828 | { | 6828 | { |
6829 | Vector3 p = World.GetNearestAllowedPosition(presence, land); | 6829 | Vector3 p = World.GetNearestAllowedPosition(presence, land); |
6830 | presence.TeleportWithMomentum(p, null); | 6830 | presence.TeleportOnEject(p); |
6831 | presence.ControllingClient.SendAlertMessage("You have been ejected from this land"); | 6831 | presence.ControllingClient.SendAlertMessage("You have been ejected from this land"); |
6832 | } | 6832 | } |
6833 | } | 6833 | } |