Skip to content

Commit

Permalink
twenty-second-round-end-timer
Browse files Browse the repository at this point in the history
  • Loading branch information
JHLincoln committed Oct 24, 2024
1 parent ccf2b89 commit ce60a62
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 @@ -127,7 +127,7 @@ io.on("connection", (socket) => {

function startNextRoundTimer(gameId) {
if (games[gameId]) {
let timeRemaining = 30;
let timeRemaining = 20;
io.to(gameId).emit("start_timer", timeRemaining);
let timer = setInterval(() => {
timeRemaining -= 1;
Expand Down

0 comments on commit ce60a62

Please sign in to comment.