fix null ref on dictionary query
parent
9be17e05f5
commit
1645a79abc
|
|
@ -710,7 +710,8 @@ namespace VELConnect
|
||||||
{
|
{
|
||||||
foreach (string key in data.Keys.ToArray())
|
foreach (string key in data.Keys.ToArray())
|
||||||
{
|
{
|
||||||
if (instance.state.room.data[key] == data[key])
|
instance.state.room.data.TryGetValue(key, out string currentValue);
|
||||||
|
if (currentValue == data[key])
|
||||||
{
|
{
|
||||||
data.Remove(key);
|
data.Remove(key);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"name": "edu.uga.engr.vel.vel-connect",
|
"name": "edu.uga.engr.vel.vel-connect",
|
||||||
"displayName": "VEL-Connect",
|
"displayName": "VEL-Connect",
|
||||||
"version": "2.1.1",
|
"version": "2.1.2",
|
||||||
"unity": "2019.1",
|
"unity": "2019.1",
|
||||||
"description": "Web-based configuration for VR applications",
|
"description": "Web-based configuration for VR applications",
|
||||||
"keywords": [],
|
"keywords": [],
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue