Commit 54d79287 authored by 范雪寒's avatar 范雪寒

test: log

parent 5e015134
...@@ -437,7 +437,7 @@ cc.Class({ ...@@ -437,7 +437,7 @@ cc.Class({
headUrl: player.headUrl, headUrl: player.headUrl,
}); });
} }
console.log('this.loadingLayer.addPlayer');
this.loadingLayer.addPlayer( this.loadingLayer.addPlayer(
player.name, player.name,
player.uuid == this.playerId, player.uuid == this.playerId,
...@@ -484,6 +484,7 @@ cc.Class({ ...@@ -484,6 +484,7 @@ cc.Class({
this.isRoomOwner = true; this.isRoomOwner = true;
this.server = new GameServer(5, this.networkHelper); this.server = new GameServer(5, this.networkHelper);
await this.networkHelper.startFrameSync(); await this.networkHelper.startFrameSync();
console.log('this.server.addPlayer');
this.server.addPlayer({ this.server.addPlayer({
uuid: this.playerId, uuid: this.playerId,
isAI: false, isAI: false,
......
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