Skip to content

Commit 7bee3ff

Browse files
authored
fix: path for bgm
1 parent aab0110 commit 7bee3ff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/base/game/sound.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,8 +118,8 @@ function overrideMusic(name) {
118118
this.super(data.name);
119119
return;
120120
}
121-
const path = enableAprilFools() ? 'afm' : 'musics/themes';
122-
createAudio(`/${path}/${data.name}.ogg`, {
121+
const path = enableAprilFools() ? 'afm' : 'musics';
122+
createAudio(`/${path}/themes/${data.name}.ogg`, {
123123
volume: bgmVolume.value(),
124124
repeat: true,
125125
set: 'music',

0 commit comments

Comments
 (0)