diff options
Diffstat (limited to 'OpenSim/Server/Handlers/Simulation/AgentHandlers.cs')
-rw-r--r-- | OpenSim/Server/Handlers/Simulation/AgentHandlers.cs | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/OpenSim/Server/Handlers/Simulation/AgentHandlers.cs b/OpenSim/Server/Handlers/Simulation/AgentHandlers.cs index 964ccf8..62fe3c9 100644 --- a/OpenSim/Server/Handlers/Simulation/AgentHandlers.cs +++ b/OpenSim/Server/Handlers/Simulation/AgentHandlers.cs | |||
@@ -387,14 +387,19 @@ namespace OpenSim.Server.Handlers.Simulation | |||
387 | protected virtual bool CreateAgent(GridRegion gatekeeper, GridRegion destination, AgentCircuitData aCircuit, uint teleportFlags, bool fromLogin, out string reason) | 387 | protected virtual bool CreateAgent(GridRegion gatekeeper, GridRegion destination, AgentCircuitData aCircuit, uint teleportFlags, bool fromLogin, out string reason) |
388 | { | 388 | { |
389 | reason = String.Empty; | 389 | reason = String.Empty; |
390 | 390 | /* | |
391 | Util.FireAndForget(x => | 391 | Util.FireAndForget(x => |
392 | { | 392 | { |
393 | string r; | 393 | string r; |
394 | m_SimulationService.CreateAgent(destination, aCircuit, teleportFlags, out r); | 394 | m_SimulationService.CreateAgent(destination, aCircuit, teleportFlags, out r); |
395 | }); | ||
396 | 395 | ||
396 | }); | ||
397 | |||
397 | return true; | 398 | return true; |
399 | */ | ||
400 | |||
401 | return m_SimulationService.CreateAgent(destination, aCircuit, teleportFlags, out reason); | ||
402 | |||
398 | } | 403 | } |
399 | } | 404 | } |
400 | 405 | ||