fix volume sliders again

This commit is contained in:
LAX1DUDE 2022-07-21 16:42:54 -07:00
parent f0b14d5ef9
commit c4a3bd1cbf
2 changed files with 1 additions and 1 deletions

View File

@ -548,7 +548,6 @@ public class GameSettings {
} }
KeyBinding.resetKeyBindingArrayAndHash(); KeyBinding.resetKeyBindingArrayAndHash();
mc.sndManager.onSoundOptionsChanged();
} }
} }

View File

@ -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 {