fix teleport to to string version regions

This commit is contained in:
UbitUmarov
2015-10-31 00:06:30 +00:00
parent f0fd028ed9
commit 400c61cd60

View File

@@ -329,7 +329,7 @@ namespace OpenSim.Services.Connectors.Simulation
success = data["success"];
reason = data["reason"].AsString();
if (data["negotiated_version"] != null)
if (data.ContainsKey("negotiated_version") && data["negotiated_version"] != null)
{
version = (float)data["negotiated_version"].AsReal();
}