Merge pull request #456 from thecodingmachine/performance
Performance settings
This commit is contained in:
commit
95665a28d5
6 changed files with 308 additions and 51 deletions
|
@ -454,9 +454,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