Adding condition to enable reporting only on private rooms
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user