mirror of
https://github.com/doublespeakgames/adarkroom.git
synced 2026-06-24 21:32:29 +08:00
fix wrong function call
This commit is contained in:
+2
-2
@@ -805,11 +805,11 @@
|
|||||||
if ($SM.get('config.soundOn')) {
|
if ($SM.get('config.soundOn')) {
|
||||||
$('.volume').text(_('sound on.'));
|
$('.volume').text(_('sound on.'));
|
||||||
$SM.set('config.soundOn', false);
|
$SM.set('config.soundOn', false);
|
||||||
AudioEngine.setVolume(0.0);
|
AudioEngine.setMasterVolume(0.0);
|
||||||
} else {
|
} else {
|
||||||
$('.volume').text(_('sound off.'));
|
$('.volume').text(_('sound off.'));
|
||||||
$SM.set('config.soundOn', true);
|
$SM.set('config.soundOn', true);
|
||||||
AudioEngine.setVolume(1.0);
|
AudioEngine.setMasterVolume(1.0);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user