Commit b06973fe authored by 杨一航's avatar 杨一航

fix server

parent dc4b25b0
...@@ -125,6 +125,8 @@ export class GameServer { ...@@ -125,6 +125,8 @@ export class GameServer {
} }
let sender = this.playerList.find(p => p.uuid == data.uuid); let sender = this.playerList.find(p => p.uuid == data.uuid);
sender.name = data.playerName;
sender.headUrl = data.playerHeadUrl;
if (data.type == "playerInfo") { if (data.type == "playerInfo") {
......
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