From 87d527ee78f50e991116690c612b6c633dddf4fe Mon Sep 17 00:00:00 2001 From: Julius Date: Wed, 22 May 2019 08:59:10 +0200 Subject: [PATCH] Bug Fixes - fixed no return to lobby after round abort --- public/javascripts/bingo-web.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/javascripts/bingo-web.js b/public/javascripts/bingo-web.js index c680079..7581771 100644 --- a/public/javascripts/bingo-web.js +++ b/public/javascripts/bingo-web.js @@ -702,7 +702,7 @@ function initSocketEvents(data) { }); socket.on('statusChange', (status, winner) => { - if (status === 'FINISHED') { + if (status === 'FINISHED' && winner) { if (document.querySelector('#container-bingo-round')) displayWinner(winner); } else {