Create menu to set your quality video and game
This commit is contained in:
parent
26b81cc788
commit
27634a61ee
6 changed files with 281 additions and 52 deletions
|
@ -462,9 +462,7 @@ export class GameScene extends ResizableScene implements CenterListener {
|
|||
this.initUsersPosition(roomJoinedMessage.users);
|
||||
this.connectionAnswerPromiseResolve(roomJoinedMessage);
|
||||
// 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'));
|
||||
});
|
||||
|
||||
connection.onUserJoins((message: MessageUserJoined) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue