diff --git a/core/src/sagittarius/view/ButtonSounded/ButtonTextSounded.java b/core/src/sagittarius/view/ButtonSounded/ButtonTextSounded.java index 556b1cf..40273a5 100644 --- a/core/src/sagittarius/view/ButtonSounded/ButtonTextSounded.java +++ b/core/src/sagittarius/view/ButtonSounded/ButtonTextSounded.java @@ -20,7 +20,7 @@ public class ButtonTextSounded extends com.kotcrab.vis.ui.widget.VisTextButton { public void tap(InputEvent event, float x, float y, int count, int button) { super.tap(event, x, y, count, button); if (!SagittariusGame.disableSounds) { - buttonclicked.play(); + buttonclicked.play(SagittariusGame.soundsVolume); } } }); diff --git a/core/src/sagittarius/view/ButtonSounded/CheckBoxSounded.java b/core/src/sagittarius/view/ButtonSounded/CheckBoxSounded.java index 32b2cc6..b669b0a 100644 --- a/core/src/sagittarius/view/ButtonSounded/CheckBoxSounded.java +++ b/core/src/sagittarius/view/ButtonSounded/CheckBoxSounded.java @@ -20,7 +20,7 @@ public class CheckBoxSounded extends com.kotcrab.vis.ui.widget.VisCheckBox { public void tap(InputEvent event, float x, float y, int count, int button) { super.tap(event, x, y, count, button); if (!SagittariusGame.disableSounds) { - buttonclicked.play(); + buttonclicked.play(SagittariusGame.soundsVolume); } } }); diff --git a/core/src/sagittarius/view/ButtonSounded/SpinnerSounded.java b/core/src/sagittarius/view/ButtonSounded/SpinnerSounded.java index 7f0b639..c78a4cc 100644 --- a/core/src/sagittarius/view/ButtonSounded/SpinnerSounded.java +++ b/core/src/sagittarius/view/ButtonSounded/SpinnerSounded.java @@ -21,7 +21,7 @@ public class SpinnerSounded extends com.kotcrab.vis.ui.widget.spinner.Spinner { public void tap(InputEvent event, float x, float y, int count, int button) { super.tap(event, x, y, count, button); if (!SagittariusGame.disableSounds) { - buttonclicked.play(); + buttonclicked.play(SagittariusGame.soundsVolume); } } });