From d431a693fc70d076ef4fc91ade285470e0b20f6f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=91cze=20Bence?= Date: Sat, 20 Mar 2021 22:24:47 +0100 Subject: [PATCH] MAPG-203 fix wrong variable name --- public/static/js/game.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/static/js/game.js b/public/static/js/game.js index 3e7ec18..4a60aa5 100644 --- a/public/static/js/game.js +++ b/public/static/js/game.js @@ -520,7 +520,7 @@ scoreInfo.children[1].style.display = 'block'; document.getElementById('showSummaryButton').style.display = null; - if (!room || Game.multi.owner) { + if (!roomId || Game.multi.owner) { document.getElementById('startNewGameButton').style.display = 'block'; }