fix the save events
This commit is contained in:
@@ -407,15 +407,11 @@ public class OptionsOverlay {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (hoverOption != null) {
|
if (hoverOption != null && hoverOption.getType() == OptionType.BOOLEAN) {
|
||||||
if (hoverOption.getType() != OptionType.NUMERIC) {
|
hoverOption.click(container);
|
||||||
parent.onSaveOption(hoverOption);
|
parent.onSaveOption(hoverOption);
|
||||||
}
|
SoundController.playSound(SoundEffect.MENUHIT);
|
||||||
if (hoverOption.getType() == OptionType.BOOLEAN) {
|
return;
|
||||||
hoverOption.click(container);
|
|
||||||
SoundController.playSound(SoundEffect.MENUHIT);
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// check if tab was clicked
|
// check if tab was clicked
|
||||||
|
|||||||
Reference in New Issue
Block a user