X-Git-Url: https://git.auder.net/?p=vchess.git;a=blobdiff_plain;f=client%2Fsrc%2Fviews%2FHall.vue;h=39d7c167a5582d59602a5e15bb7aef48597a64c0;hp=38ec2b302759f75e0e223f192f33c67d7157b295;hb=26f3a8879fb4b410ed8840c5a37397011c13bc1c;hpb=a0c41e7e23c9ff64031739e072f38e493bac8dca diff --git a/client/src/views/Hall.vue b/client/src/views/Hall.vue index 38ec2b30..39d7c167 100644 --- a/client/src/views/Hall.vue +++ b/client/src/views/Hall.vue @@ -405,7 +405,6 @@ export default { newGame.type = this.classifyObject(data.game); newGame.vname = this.getVname(data.game.vid); newGame.rid = data.from; - newGame.score = "*"; this.games.push(newGame); } break; @@ -455,7 +454,7 @@ export default { this.st.conn.send(JSON.stringify({code:"askgame", target:data.from})); break; case "disconnect": - case "pdisconnect": + case "gdisconnect": this.$delete(this.people, data.from); if (data.code == "disconnect") {