Fix disconnect event by closing tab
[vchess.git] / client / src / views / Hall.vue
index ae04b7d..34cd63b 100644 (file)
@@ -488,6 +488,8 @@ export default {
             newGame.vname = this.getVname(game.vid);
             if (!game.score) //if new game from Hall
               newGame.score = "*";
+            newGame.rids = [game.rid];
+            delete newGame["rid"];
             this.games.push(newGame);
           }
           else