diff options
Diffstat (limited to 'OpenSim/Services/Connectors/Simulation/SimulationServiceConnector.cs')
-rw-r--r-- | OpenSim/Services/Connectors/Simulation/SimulationServiceConnector.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Services/Connectors/Simulation/SimulationServiceConnector.cs b/OpenSim/Services/Connectors/Simulation/SimulationServiceConnector.cs index 5ee2c9c..4dad517 100644 --- a/OpenSim/Services/Connectors/Simulation/SimulationServiceConnector.cs +++ b/OpenSim/Services/Connectors/Simulation/SimulationServiceConnector.cs | |||
@@ -329,7 +329,7 @@ namespace OpenSim.Services.Connectors.Simulation | |||
329 | success = data["success"]; | 329 | success = data["success"]; |
330 | 330 | ||
331 | reason = data["reason"].AsString(); | 331 | reason = data["reason"].AsString(); |
332 | if (data["negotiated_version"] != null) | 332 | if (data.ContainsKey("negotiated_version") && data["negotiated_version"] != null) |
333 | { | 333 | { |
334 | version = (float)data["negotiated_version"].AsReal(); | 334 | version = (float)data["negotiated_version"].AsReal(); |
335 | } | 335 | } |