Commit bdb2283b authored by 李维's avatar 李维

fix: 修改房间名字

parent 7e4b277f
...@@ -55,7 +55,8 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -55,7 +55,8 @@ export default class SceneComponent extends MyCocosSceneComponent {
this.networkHelper = new NetworkHelper(); this.networkHelper = new NetworkHelper();
this.initNetworkListener(); this.initNetworkListener();
this.playerId = await this.networkHelper.init("op_16", 2); // 修改房间类型为 __op_16
this.playerId = await this.networkHelper.init("__op_16", 2);
console.log('this.playerId = ' + this.playerId); console.log('this.playerId = ' + this.playerId);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment