This commit is contained in:
草莓 2025-01-27 21:03:12 +08:00
parent 9f81251570
commit 53e262dbd5
2 changed files with 2 additions and 4 deletions

View File

@ -3282,9 +3282,6 @@ var events_c12a15a8_c380_4b28_8144_256cba95f760 =
} }
] ]
}, },
{
"type": "pauseBgm"
},
{ {
"type": "playBgm", "type": "playBgm",
"name": "Halbmond.opus" "name": "Halbmond.opus"

View File

@ -10713,6 +10713,7 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 =
}; };
//bgm相关复写 //bgm相关复写
control.prototype.playBgm = (bgm, when) => { control.prototype.playBgm = (bgm, when) => {
if (!bgm || core.bgms.includes(bgm))
bgmController.play(bgm, when); bgmController.play(bgm, when);
core.setMusicBtn(); core.setMusicBtn();
}; };