Skip to content

Commit

Permalink
changed round timer to 30 seconds
Browse files Browse the repository at this point in the history
  • Loading branch information
shammy642 committed Oct 25, 2024
1 parent b8ac356 commit cc73270
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ io.on("connection", (socket) => {
function startNextRoundTimer(gameId) {
console.log("starting next round timer", gameId)
if (games[gameId]) {
let timeRemaining = 60;
let timeRemaining = 30;
io.to(gameId).emit("start_timer", timeRemaining);
let timer = setInterval(() => {
timeRemaining -= 1;
Expand Down

0 comments on commit cc73270

Please sign in to comment.