more fixes

This commit is contained in:
Yeicor
2024-03-16 16:22:08 +01:00
parent cb0a7bdf0c
commit 1d01c75448
3 changed files with 32 additions and 41 deletions

View File

@@ -57,7 +57,7 @@ async function onModelUpdateRequest(event: NetworkUpdateEvent) {
}
if (shutdownRequest !== null) {
console.log("Shutting down the connection as requested by the server");
event.disconnectForALittleBit();
event.disconnect();
}
sceneDocument.value = doc
triggerRef(sceneDocument); // Why not triggered automatically?