diff --git a/src/hub.js b/src/hub.js index 827bab773a706b1235b4c8133053dfaa1cfcfb61..acc40490a66080b7b046da49d0e49de854f77499 100644 --- a/src/hub.js +++ b/src/hub.js @@ -329,7 +329,6 @@ const onReady = async () => { window.interacted = resolve; }); audio.play(); - } if (mediaStream) { @@ -389,8 +388,7 @@ const onReady = async () => { // Stop rendering while the UI is up. We restart the render loop in enterScene. // Wait a tick plus some margin so that the environments actually render. setTimeout(() => scene.renderer.animate(null), 100); - } - else { + } else { const noop = () => {}; // Replace renderer with a noop renderer to reduce bot resource usage. scene.renderer = { animate: noop, render: noop };