Skip to content

Commit

Permalink
update socket/src/main.js
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianjnuwu committed Jan 8, 2025
1 parent 9038b56 commit dd0acef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion socket/src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ io.on("connection", (socket) => {
io.to(room_code).emit("game_start");

// Define o tempo de jogo em segundos
let time_game = room.time * 60; // Multiplica os minutos por 60 para converter para segundos
let time_game = room.time * 1; // <fix> Multiplica os minutos por 60 para converter para segundos

const gameInterval = setInterval(() => {
// Envia o tempo restante para a sala
Expand Down

0 comments on commit dd0acef

Please sign in to comment.