mirror of
https://git.eaglercraft.rip/eaglercraft/eaglercraft-1.5.git
synced 2025-01-22 23:41:54 -05:00
fix volume sliders again
This commit is contained in:
parent
f0b14d5ef9
commit
c4a3bd1cbf
2 changed files with 1 additions and 1 deletions
|
@ -548,7 +548,6 @@ public class GameSettings {
|
||||||
}
|
}
|
||||||
|
|
||||||
KeyBinding.resetKeyBindingArrayAndHash();
|
KeyBinding.resetKeyBindingArrayAndHash();
|
||||||
mc.sndManager.onSoundOptionsChanged();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -56,6 +56,7 @@ public class SoundManager {
|
||||||
*/
|
*/
|
||||||
public void loadSoundSettings(GameSettings par1GameSettings) {
|
public void loadSoundSettings(GameSettings par1GameSettings) {
|
||||||
this.options = par1GameSettings;
|
this.options = par1GameSettings;
|
||||||
|
EaglerAdapter.setMasterVolume(options.soundVolume);
|
||||||
if(this.sounddefinitions == null) {
|
if(this.sounddefinitions == null) {
|
||||||
this.sounddefinitions = new HashMap();
|
this.sounddefinitions = new HashMap();
|
||||||
try {
|
try {
|
||||||
|
|
Loading…
Reference in a new issue