Minor fixes

This commit is contained in:
MaciejkaG 2024-04-06 21:49:27 +02:00
parent 322b932dbd
commit 955171be36

View File

@ -546,6 +546,9 @@ io.on('connection', async (socket) => {
}
socket.on('ready', async (callback) => {
if (!(callback && typeof callback === 'function')) {
return;
}
const playerGame = await GInfo.getPlayerGameData(socket);
let timeLeft = await GInfo.timerLeft(playerGame.id);