fix teleport to to string version regions

avinationmerge
UbitUmarov 2015-10-31 00:06:30 +00:00
parent f0fd028ed9
commit 400c61cd60
1 changed files with 1 additions and 1 deletions

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();
}