MAPG-203 fix condition in game.js
All checks were successful
default-pipeline default-pipeline #38

This commit is contained in:
Bence Pőcze 2021-03-20 20:59:10 +01:00
parent c2f0a1dd51
commit f3ec71d6dd
Signed by: bence
GPG Key ID: AA52B11A3269D1C1

View File

@ -520,7 +520,7 @@
scoreInfo.children[1].style.display = 'block'; scoreInfo.children[1].style.display = 'block';
document.getElementById('showSummaryButton').style.display = null; document.getElementById('showSummaryButton').style.display = null;
if (Game.multi.owner) { if (!room || Game.multi.owner) {
document.getElementById('startNewGameButton').style.display = 'block'; document.getElementById('startNewGameButton').style.display = 'block';
} }