Fix toggleRound: Pause Round now actually closes the round (not open)
This commit is contained in:
@@ -342,12 +342,12 @@ function broadcastTimerToPlayers(sec,running){
|
||||
// MOD ROUND CONTROL
|
||||
// ══════════════════════════════════════════════════════
|
||||
function toggleRound(){
|
||||
// Reset buzzer and open round
|
||||
ws_send({type:'open_round'});
|
||||
// Change button to pause state
|
||||
// Close round (pause)
|
||||
ws_send({type:'close_round'});
|
||||
// Change button to open state
|
||||
const btn=document.getElementById('mod-round-btn');
|
||||
btn.innerHTML='■ PAUSE ROUND';
|
||||
btn.className='btn btn-red btn-full';
|
||||
btn.innerHTML='▶ OPEN ROUND';
|
||||
btn.className='btn btn-g btn-full';
|
||||
}
|
||||
|
||||
function resumeRound(){
|
||||
|
||||
Reference in New Issue
Block a user