Skip to content
This repository was archived by the owner on Oct 22, 2021. It is now read-only.

Commit 2623c05

Browse files
committed
🚸 Make "extraAudio" setting dependent of "audio"
1 parent 5431c04 commit 2623c05

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/classes/audiofx.class.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ class AudioManager {
3030
Howler.volume(0.0);
3131
}
3232

33-
if (window.settings.extraAudio === true) {
33+
if (window.settings.audio === true && window.settings.extraAudio === true) {
3434
this.beep5 = new Howl({
3535
src: [path.join(__dirname, "assets", "audio", "beep5.wav")]
3636
});

0 commit comments

Comments
 (0)