diff options
author | UbitUmarov | 2015-10-31 00:06:30 +0000 |
---|---|---|
committer | UbitUmarov | 2015-10-31 00:06:30 +0000 |
commit | 400c61cd6017fec154d03f940aad054e48ecf2d9 (patch) | |
tree | b222c537dac2b41b47fe2451c39ba2803354f27f /OpenSim/Services/Connectors | |
parent | Merge branch 'master' of opensimulator.org:/var/git/opensim (diff) | |
download | opensim-SC_OLD-400c61cd6017fec154d03f940aad054e48ecf2d9.zip opensim-SC_OLD-400c61cd6017fec154d03f940aad054e48ecf2d9.tar.gz opensim-SC_OLD-400c61cd6017fec154d03f940aad054e48ecf2d9.tar.bz2 opensim-SC_OLD-400c61cd6017fec154d03f940aad054e48ecf2d9.tar.xz |
fix teleport to to string version regions
Diffstat (limited to 'OpenSim/Services/Connectors')
-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 | } |