Adding condition to enable reporting only on private rooms
This commit is contained in:
parent
62dfb68aaf
commit
0ea7240834
3 changed files with 19 additions and 17 deletions
|
@ -592,7 +592,7 @@ export class GameScene extends ResizableScene implements CenterListener {
|
|||
}));
|
||||
|
||||
// When connection is performed, let's connect SimplePeer
|
||||
this.simplePeer = new SimplePeer(this.connection);
|
||||
this.simplePeer = new SimplePeer(this.connection, !this.room.isPublic);
|
||||
this.GlobalMessageManager = new GlobalMessageManager(this.connection);
|
||||
|
||||
const self = this;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue