diff --git a/src/mami.js/notices/youare.jsx b/src/mami.js/notices/youare.jsx index f8b5335..e480cdc 100644 --- a/src/mami.js/notices/youare.jsx +++ b/src/mami.js/notices/youare.jsx @@ -25,7 +25,7 @@ const MamiYouAreAnIdiot = function(sndLibrary, views) { onViewPush: async () => { try { soundSrc = await sndLibrary.loadSource('misc:youare'); - soundSrc.setMuted(true); + soundSrc.muted = true; soundSrc.setLoop(true, 0.21, 5); soundSrc.play(); } catch(ex) { @@ -34,11 +34,11 @@ const MamiYouAreAnIdiot = function(sndLibrary, views) { }, onViewForeground: async () => { if(soundSrc !== undefined) - soundSrc.setMuted(false); + soundSrc.muted = false; }, onViewBackground: async () => { if(soundSrc !== undefined) - soundSrc.setMuted(true); + soundSrc.muted = true; }, onViewPop: async () => { if(soundSrc !== undefined)