diff options
Diffstat (limited to 'OpenSim/Region/CoreModules')
-rw-r--r-- | OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs b/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs index ea2d9b5..31db778 100644 --- a/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs +++ b/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs | |||
@@ -1054,7 +1054,15 @@ namespace OpenSim.Region.CoreModules.Framework.EntityTransfer | |||
1054 | // DECREASING THE WAIT TIME HERE WILL EITHER RESULT IN A VIEWER CRASH OR | 1054 | // DECREASING THE WAIT TIME HERE WILL EITHER RESULT IN A VIEWER CRASH OR |
1055 | // IN THE AVIE BEING PLACED IN INFINITY FOR A COUPLE OF SECONDS. | 1055 | // IN THE AVIE BEING PLACED IN INFINITY FOR A COUPLE OF SECONDS. |
1056 | Thread.Sleep(15000); | 1056 | Thread.Sleep(15000); |
1057 | sp.Scene.IncomingCloseAgent(sp.UUID, false); | 1057 | |
1058 | if (!sp.DoNotClose) | ||
1059 | { | ||
1060 | sp.Scene.IncomingCloseAgent(sp.UUID, false); | ||
1061 | } | ||
1062 | else | ||
1063 | { | ||
1064 | sp.DoNotClose = false; | ||
1065 | } | ||
1058 | } | 1066 | } |
1059 | else | 1067 | else |
1060 | // now we have a child agent in this region. | 1068 | // now we have a child agent in this region. |