fix: bgm loop
parent
5120480a87
commit
006492a8a5
|
@ -67,7 +67,7 @@ export class SoundManager extends Singleton<SoundManager>('SoundManager') {
|
|||
this._audioSourceBgm = new globalThis.Howl({
|
||||
src: audio.nativeUrl,
|
||||
volume: opts?.volume || 1,
|
||||
loop: !!opts?.loop,
|
||||
loop: opts?.loop || true,
|
||||
rate: opts?.rate || 1,
|
||||
mute: this._isMute,
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue