diff options
Diffstat (limited to 'OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs')
-rw-r--r-- | OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs b/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs index 6b90097..b9c88d4 100644 --- a/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs +++ b/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs | |||
@@ -1113,14 +1113,14 @@ namespace OpenSim.Region.CoreModules.Framework.EntityTransfer | |||
1113 | ((Scene)(client.Scene)).RequestTeleportLocation( | 1113 | ((Scene)(client.Scene)).RequestTeleportLocation( |
1114 | client, regionInfo.RegionHandle, uinfo.HomePosition, uinfo.HomeLookAt, | 1114 | client, regionInfo.RegionHandle, uinfo.HomePosition, uinfo.HomeLookAt, |
1115 | (uint)(Constants.TeleportFlags.SetLastToTarget | Constants.TeleportFlags.ViaHome)); | 1115 | (uint)(Constants.TeleportFlags.SetLastToTarget | Constants.TeleportFlags.ViaHome)); |
1116 | return true; | ||
1116 | } | 1117 | } |
1117 | else | 1118 | else |
1118 | { | 1119 | { |
1119 | // can't find the Home region: Tell viewer and abort | 1120 | // can't find the Home region: Tell viewer and abort |
1120 | client.SendTeleportFailed("Your home region could not be found."); | 1121 | client.SendTeleportFailed("Your home region could not be found."); |
1121 | return false; | ||
1122 | } | 1122 | } |
1123 | return true; | 1123 | return false; |
1124 | } | 1124 | } |
1125 | 1125 | ||
1126 | #endregion | 1126 | #endregion |