null check for room data

pull/1/head
Anton Franzluebbers 2024-02-22 13:46:47 -05:00
parent 4b2eb1b258
commit 89da691111
5 changed files with 6 additions and 6 deletions

View File

@ -20,6 +20,6 @@ jobs:
registry-url: "https://registry.npmjs.org"
- run: npm install
- run: npm ci
- run: npm publish
- run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

View File

@ -20,6 +20,6 @@ jobs:
registry-url: "https://registry.npmjs.org"
- run: npm install
- run: npm ci
- run: npm publish
- run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

View File

@ -409,7 +409,7 @@ namespace VELConnect
foreach (KeyValuePair<string, string> elem in state.room.data)
{
string oldValue = null;
lastState?.room.data.TryGetValue(elem.Key, out oldValue);
lastState?.room?.data.TryGetValue(elem.Key, out oldValue);
if (elem.Value != oldValue)
{
try

View File

@ -1,7 +1,7 @@
{
"name": "edu.uga.engr.vel.vel-connect",
"displayName": "VEL-Connect",
"version": "4.0.2",
"version": "4.0.3",
"unity": "2019.1",
"description": "Web-based configuration for VR applications",
"keywords": [],

View File

@ -1,12 +1,12 @@
{
"name": "@velaboratory/velconnect",
"version": "1.0.0",
"version": "1.0.1",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "@velaboratory/velconnect",
"version": "1.0.0",
"version": "1.0.1",
"license": "MIT",
"dependencies": {
"pocketbase": "^0.20.3"