Fix things. Now on (live) game start + play
[vchess.git] / client / src / components / Game.vue
index 3eb8f0c..2a74a07 100644 (file)
@@ -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");