mirror of
https://github.com/unanmed/HumanBreak.git
synced 2026-11-10 23:44:31 +08:00
fix: 标题曲不播放
This commit is contained in:
1 parent
f64cfb2c14
commit
e6ac3197e1
3 files changed
+2
-9
No files matched your search
+1
-1
@@ -48,7 +48,7 @@ interface Bgm {
|
||||
|
||||
const list = bgm as Partial<Record<BgmIds, Bgm>>;
|
||||
|
||||
const selected = ref<BgmIds>('title.mp3');
|
||||
const selected = ref<BgmIds>('title.opus');
|
||||
|
||||
const content = computed(() => {
|
||||
return eval('`' + splitText(list[selected.value]!.desc) + '`');
|
||||
|
||||
+1
-1
@@ -328,7 +328,7 @@ onMounted(async () => {
|
||||
resize();
|
||||
|
||||
soundChecked.value = mainSetting.getValue('audio.bgmEnabled', true);
|
||||
bgmController.play('title.mp3');
|
||||
bgmController.play('title.opus');
|
||||
|
||||
start.style.opacity = '1';
|
||||
if (played) {
|
||||
|
||||
Reference in new issue
Block a user