mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 01:06:30 +08:00
Reverse the logic of a conditional. Clears up a merge artefact.
This commit is contained in:
@@ -430,7 +430,7 @@ namespace OpenSim.Region.CoreModules.Framework.EntityTransfer
|
||||
// This may be a costly operation. The reg.ExternalEndPoint field is not a passive field,
|
||||
// it's actually doing a lot of work.
|
||||
IPEndPoint endPoint = finalDestination.ExternalEndPoint;
|
||||
if (endPoint != null && endPoint.Address != null)
|
||||
if (endPoint == null || endPoint.Address == null)
|
||||
{
|
||||
sp.ControllingClient.SendTeleportFailed("Remote Region appears to be down");
|
||||
m_entityTransferStateMachine.ResetFromTransit(sp.UUID);
|
||||
|
||||
Reference in New Issue
Block a user