From f844bba23e372c71d79691f6d791f7d4f6db4347 Mon Sep 17 00:00:00 2001 From: MaciejkaG Date: Fri, 8 Mar 2024 19:53:22 +0100 Subject: [PATCH] Minor changes - Fixed prep phase length --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index abb9b51..24d2dcb 100644 --- a/index.js +++ b/index.js @@ -224,7 +224,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 }); - bships.timer(20, async () => { + bships.timer(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;