diff --git a/src/util/utils.js b/src/util/utils.js index ed98705f24..b744c8b5ba 100644 --- a/src/util/utils.js +++ b/src/util/utils.js @@ -2767,12 +2767,18 @@ Entry.Utils.pauseSoundInstances = function() { Entry.soundInstances.getAllValues().forEach((instance) => { instance.paused = true; }); + Entry.bgmInstances.getAllValues().forEach((instance) => { + instance.paused = true; + }); }; Entry.Utils.recoverSoundInstances = function() { Entry.soundInstances.getAllValues().forEach((instance) => { instance.paused = false; }); + Entry.bgmInstances.getAllValues().forEach((instance) => { + instance.paused = false; + }); }; Entry.Utils.hasClass = (elem, name) => ` ${elem.getAttribute('class')} `.indexOf(` ${name} `) >= 0;