Merge branch 'develop' of github.com:thecodingmachine/workadventure

This commit is contained in:
_Bastler
2021-09-20 15:17:30 +02:00
10 changed files with 60 additions and 51 deletions
+3 -3
View File
@@ -644,9 +644,9 @@ export class GameScene extends DirtyScene {
} else {
this.userInputManager.restoreControls();
}
})
});
Promise.all([ this.connectionAnswerPromise as Promise<unknown>, ...scriptPromises ]).then(() => {
Promise.all([this.connectionAnswerPromise as Promise<unknown>, ...scriptPromises]).then(() => {
this.scene.wake();
});
}
@@ -1511,7 +1511,7 @@ export class GameScene extends DirtyScene {
} else {
emoteMenuStore.openEmoteMenu();
}
})
});
this.CurrentPlayer.on(requestEmoteEventName, (emoteKey: string) => {
this.connection?.emitEmoteEvent(emoteKey);
analyticsClient.launchEmote(emoteKey);