fix teleport to to string version regions
parent
f0fd028ed9
commit
400c61cd60
|
@ -329,7 +329,7 @@ namespace OpenSim.Services.Connectors.Simulation
|
||||||
success = data["success"];
|
success = data["success"];
|
||||||
|
|
||||||
reason = data["reason"].AsString();
|
reason = data["reason"].AsString();
|
||||||
if (data["negotiated_version"] != null)
|
if (data.ContainsKey("negotiated_version") && data["negotiated_version"] != null)
|
||||||
{
|
{
|
||||||
version = (float)data["negotiated_version"].AsReal();
|
version = (float)data["negotiated_version"].AsReal();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue