fix rot muting

This commit is contained in:
uwaa 2025-02-21 00:44:41 +00:00
parent f89ac17ff1
commit 1cb8e95c75

View file

@ -382,9 +382,8 @@
volumeSlider.addEventListener('mousedown', onMouseDown);
}
localStorage.audiomuted === "true";
audio.muted = localStorage.audiomuted;
musicmute.checked = localStorage.audiomuted;
audio.muted = localStorage.audiomuted === "true";
musicmute.checked = localStorage.audiomuted === "true"
musicmute.addEventListener('click', () => {
localStorage.audiomuted = musicmute.checked;
audio.muted = musicmute.checked;