Skip to content
Snippets Groups Projects
Commit 55b82cdc authored by Brian Peiris's avatar Brian Peiris
Browse files

delint

parent 75a3d447
No related branches found
No related tags found
No related merge requests found
......@@ -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 };
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment