Merge branch 'develop' of github.com:thecodingmachine/workadventure into scaling
# Conflicts: # front/src/Phaser/Game/GameScene.ts
This commit is contained in:
commit
2122014947
17 changed files with 328 additions and 60 deletions
|
@ -569,11 +569,10 @@ export class GameScene extends ResizableScene implements CenterListener {
|
|||
//this.initUsersPosition(roomJoinedMessage.users);
|
||||
this.connectionAnswerPromiseResolve(onConnect.room);
|
||||
// Analyze tags to find if we are admin. If yes, show console.
|
||||
if (this.connection.hasTag('admin')) {
|
||||
this.ConsoleGlobalMessageManager = new ConsoleGlobalMessageManager(this.connection, this.userInputManager);
|
||||
}
|
||||
this.ConsoleGlobalMessageManager = new ConsoleGlobalMessageManager(this.connection, this.userInputManager, this.connection.hasTag('admin'));
|
||||
|
||||
this.scene.wake();
|
||||
|
||||
this.scene.wake();
|
||||
this.scene.sleep(ReconnectingSceneName);
|
||||
|
||||
//init user position and play trigger to check layers properties
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue