mirror of
https://github.com/doublespeakgames/adarkroom.git
synced 2026-05-28 08:11:54 +08:00
refactor audio engine: simplified gain channels, improve fading between audio, rename functions
This commit is contained in:
+1
-1
@@ -805,7 +805,7 @@
|
||||
if ($SM.get('config.soundOn')) {
|
||||
$('.volume').text(_('sound on.'));
|
||||
$SM.set('config.soundOn', false);
|
||||
AudioEngine.mute();
|
||||
AudioEngine.setVolume(0.0);
|
||||
} else {
|
||||
$('.volume').text(_('sound off.'));
|
||||
$SM.set('config.soundOn', true);
|
||||
|
||||
Reference in New Issue
Block a user