From: Benjamin Auder Date: Thu, 7 Feb 2019 23:15:37 +0000 (+0100) Subject: Work on main hall X-Git-Url: https://git.auder.net/variants/img/current/assets/css/%7B%7B%20pkg.url%20%7D%7D?a=commitdiff_plain;h=9d58ef95e3affd799571838164f7c5bbfda11f64;p=vchess.git Work on main hall --- diff --git a/client/src/components/Game.vue b/client/src/components/Game.vue index 3eb8f0c6..2a74a072 100644 --- a/client/src/components/Game.vue +++ b/client/src/components/Game.vue @@ -178,8 +178,8 @@ export default { this.endGame(this.mycolor=="w"?"1-0":"0-1"); break; // TODO: also use (dis)connect info to count online players? - case "connect": - case "disconnect": + case "gameconnect": + case "gamedisconnect": if (this.mode=="human") { const online = (data.code == "connect"); diff --git a/client/src/components/GameList.vue b/client/src/components/GameList.vue index c7f661ca..bb97a742 100644 --- a/client/src/components/GameList.vue +++ b/client/src/components/GameList.vue @@ -1,16 +1,18 @@