diff --git a/front/src/Components/AudioManager/AudioManager.svelte b/front/src/Components/AudioManager/AudioManager.svelte index bd5ba3f0..b79aa22c 100644 --- a/front/src/Components/AudioManager/AudioManager.svelte +++ b/front/src/Components/AudioManager/AudioManager.svelte @@ -19,6 +19,10 @@ let decreaseWhileTalking: boolean=true; onMount(() => { + volume = localUserStore.getAudioPlayerVolume(); + audioManagerVolumeStore.setMuted(localUserStore.getAudioPlayerMuted()); + setVolume(); + unsubscriberFileStore=audioManagerFileStore.subscribe(() => { HTMLAudioPlayer.pause(); HTMLAudioPlayer.loop=get(audioManagerVolumeStore).loop;