Fix the uncaught error.

This commit is contained in:
Tipx-L 2023-08-10 09:05:14 -07:00
parent bb1bcdeb61
commit 4692deacb9
1 changed files with 2 additions and 2 deletions

View File

@ -11179,7 +11179,7 @@
game.resume(); game.resume();
_status.imchoosing=false; _status.imchoosing=false;
if(roundmenu) ui.roundmenu.style.display=''; if(roundmenu) ui.roundmenu.style.display='';
if(ui.backgroundMusic) ui.backgroundMusic.play(); if(ui.backgroundMusic) ui.backgroundMusic.play().catch(()=>void 0);
hitsound_audio.remove(); hitsound_audio.remove();
},1000); },1000);
}; };
@ -11368,7 +11368,7 @@
if(dialog){ if(dialog){
dialog.close(); dialog.close();
} }
if(ui.backgroundMusic) ui.backgroundMusic.play(); if(ui.backgroundMusic) ui.backgroundMusic.play().catch(()=>void 0);
},event.videoId,event.time); },event.videoId,event.time);
var result=event.result||result; var result=event.result||result;
event.result=result; event.result=result;