Open Round: properly reset and start timer when toggle ON

This commit is contained in:
2026-04-08 20:30:56 -05:00
parent a135746e37
commit 3c0ca7843f

View File

@@ -401,7 +401,7 @@ function toggleRound(){
} }
} else { } else {
ws_send({type:'open_round'}); ws_send({type:'open_round'});
// If linked (toggle ON) and timer stopped, start it // If linked (toggle ON) and timer stopped, reset and start it
if(document.getElementById('timer-tog').checked && !modTimerRunning && modTimerRemaining===0){ if(document.getElementById('timer-tog').checked && !modTimerRunning && modTimerRemaining===0){
modTimerLoad(); modTimerLoad();
modTimerRunning=true; modTimerRunning=true;