Fix toggleRound: Pause Round now actually closes the round (not open)

This commit is contained in:
2026-04-08 19:06:26 -05:00
parent a01b584d10
commit 548a7e29f0

View File

@@ -342,12 +342,12 @@ function broadcastTimerToPlayers(sec,running){
// MOD ROUND CONTROL // MOD ROUND CONTROL
// ══════════════════════════════════════════════════════ // ══════════════════════════════════════════════════════
function toggleRound(){ function toggleRound(){
// Reset buzzer and open round // Close round (pause)
ws_send({type:'open_round'}); ws_send({type:'close_round'});
// Change button to pause state // Change button to open state
const btn=document.getElementById('mod-round-btn'); const btn=document.getElementById('mod-round-btn');
btn.innerHTML='■ PAUSE ROUND'; btn.innerHTML='▶ OPEN ROUND';
btn.className='btn btn-red btn-full'; btn.className='btn btn-g btn-full';
} }
function resumeRound(){ function resumeRound(){