From 284c74b746bed591d4fd8c8aec96bd9e8feeccc8 Mon Sep 17 00:00:00 2001 From: MaciejkaG Date: Sat, 9 Mar 2024 01:11:46 +0100 Subject: [PATCH] Update index.js --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 9c17744..77fc8e8 100644 --- a/index.js +++ b/index.js @@ -225,7 +225,7 @@ io.on('connection', async (socket) => { let UTCTs = Math.floor((new Date()).getTime() / 1000 + 90); io.to(playerGame.id).emit('turn update', { turn: 0, phase: "preparation", timerToUTC: UTCTs }); - GInfo.timer(playerGame.id, 15, async () => { + GInfo.timer(playerGame.id, 90, async () => { const playerGame = await GInfo.getPlayerGameData(socket); for (let i = 0; i < playerGame.data.boards.length; i++) { const ships = playerGame.data.boards[i].ships;