From 5ae7dccfaf1bbbc819a0676d7dfb0cb3979e3982 Mon Sep 17 00:00:00 2001 From: Greg Fodor <gfodor@gmail.com> Date: Sun, 30 Sep 2018 05:48:07 +0000 Subject: [PATCH] Spawn avatar as bot --- src/scene-entry-manager.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/scene-entry-manager.js b/src/scene-entry-manager.js index 38aa4f55a..999075799 100644 --- a/src/scene-entry-manager.js +++ b/src/scene-entry-manager.js @@ -61,6 +61,8 @@ export default class SceneEntryManager { NAF.connection.adapter.setLocalMediaStream(mediaStream); } + this.spawnAvatar(); + if (isBotMode) { this.runBot(mediaStream); return; @@ -71,8 +73,6 @@ export default class SceneEntryManager { this.hubChannel.sendEntryEvent().then(() => { this.store.update({ activity: { lastEnteredAt: new Date().toISOString() } }); }); - - this.spawnAvatar(); }; enterSceneWhenLoaded = (mediaStream, enterInVR) => { -- GitLab