mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 16:22:50 +08:00
fix teleport to to string version regions
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user