diff options
-rw-r--r-- | socket.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/socket.js b/socket.js index fec66d7..284c767 100644 --- a/socket.js +++ b/socket.js @@ -283,6 +283,8 @@ function makeSocketServer() { if (readySockets && !readySockets.includes(socket)) { readySockets.push(socket) if (readySockets.length === sockets.length) { + const QP = server.canonicalBackend.queuePlayers.find(QP => QP.id === command.queuePlayer) + silenceEvents(QP, ['set-pause'], () => QP.setPause(false)) for (const socket of sockets) { socket.write(serializeCommandToData({ sender: 'server', |