From bd5c8a789d6ba16c02a77c9c7702c18f68579d69 Mon Sep 17 00:00:00 2001 From: Benjamin Auder Date: Wed, 4 Mar 2020 20:19:41 +0100 Subject: [PATCH] Fix display of other live games --- client/src/views/Hall.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/client/src/views/Hall.vue b/client/src/views/Hall.vue index 1031e49c..f8add795 100644 --- a/client/src/views/Hall.vue +++ b/client/src/views/Hall.vue @@ -600,7 +600,8 @@ export default { // NOTE: it may be live or correspondance const game = data.data; // Ignore games where I play (corr games) - if (game.players.every(p => p.id != this.st.user.id)) + if (game.players.every(p => + p.sid != this.st.user.sid || p.id != this.st.user.id)) { let locGame = this.games.find(g => g.id == game.id); if (!locGame) { -- 2.44.0