diff --git a/CookieMonster.js b/CookieMonster.js index 119ad03..7536892 100644 --- a/CookieMonster.js +++ b/CookieMonster.js @@ -1884,7 +1884,7 @@ CM.Disp.Flash = function(mode, config) { CM.Disp.PlaySound = function(url, sndConfig, volConfig) { if (CM.Config[sndConfig] == 1) { var sound = new realAudio(url); - sound.volume = CM.Config[volConfig] / 100; + sound.volume = (CM.Config[volConfig] / 100) * (Game.volume / 100); sound.play(); } } diff --git a/src/Disp.js b/src/Disp.js index 06f2399..5a01efa 100644 --- a/src/Disp.js +++ b/src/Disp.js @@ -980,7 +980,7 @@ CM.Disp.Flash = function(mode, config) { CM.Disp.PlaySound = function(url, sndConfig, volConfig) { if (CM.Config[sndConfig] == 1) { var sound = new realAudio(url); - sound.volume = CM.Config[volConfig] / 100; + sound.volume = (CM.Config[volConfig] / 100) * (Game.volume / 100); sound.play(); } }