mirror of
https://github.com/opensim/opensim.git
synced 2026-08-09 02:36:00 +08:00
Make it more unlikely that a script teleport will be caught by default region landing point.
This commit is contained in:
@@ -456,7 +456,7 @@ namespace OpenSim.Region.CoreModules.Framework.EntityTransfer
|
||||
}
|
||||
|
||||
// Check Default Location (Also See ScenePresence.CompleteMovement)
|
||||
if (position.X == 128f && position.Y == 128f)
|
||||
if (position.X == 128f && position.Y == 128f && position.Z == 22.5f)
|
||||
position = sp.Scene.RegionInfo.DefaultLandingPoint;
|
||||
|
||||
// TODO: Get proper AVG Height
|
||||
|
||||
Reference in New Issue
Block a user