From 4692deacb99fb434502e723a8a577a293692b8f1 Mon Sep 17 00:00:00 2001 From: Tipx-L <138244655+Tipx-L@users.noreply.github.com> Date: Thu, 10 Aug 2023 09:05:14 -0700 Subject: [PATCH] Fix the uncaught error. --- game/game.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/game/game.js b/game/game.js index 3a705f309..f6eead188 100644 --- a/game/game.js +++ b/game/game.js @@ -11179,7 +11179,7 @@ game.resume(); _status.imchoosing=false; if(roundmenu) ui.roundmenu.style.display=''; - if(ui.backgroundMusic) ui.backgroundMusic.play(); + if(ui.backgroundMusic) ui.backgroundMusic.play().catch(()=>void 0); hitsound_audio.remove(); },1000); }; @@ -11368,7 +11368,7 @@ if(dialog){ dialog.close(); } - if(ui.backgroundMusic) ui.backgroundMusic.play(); + if(ui.backgroundMusic) ui.backgroundMusic.play().catch(()=>void 0); },event.videoId,event.time); var result=event.result||result; event.result=result;