plus de bugs sur le son
This commit is contained in:
parent
0bfcf4e543
commit
5ac5761d19
|
@ -59,7 +59,7 @@ public class ResumeScreen extends BaseScreen {
|
|||
super.tap(event, x, y, count, button);
|
||||
|
||||
SagittariusGame.music.setVolume(Float.parseFloat(musicVolume.getTextField().getText()));
|
||||
SagittariusGame.soundsVolume = Float.parseFloat(musicVolume.getTextField().getText());
|
||||
SagittariusGame.soundsVolume = Float.parseFloat(musicSounds.getTextField().getText());
|
||||
|
||||
// Deactivate music or not
|
||||
if (disableMusic.isChecked() && SagittariusGame.music.isPlaying()){
|
||||
|
|
|
@ -63,7 +63,7 @@ public class SettingsScreen extends BaseScreen {
|
|||
|
||||
SagittariusGame.G = Float.parseFloat(gConstField.getTextField().getText());
|
||||
SagittariusGame.music.setVolume(Float.parseFloat(musicVolume.getTextField().getText()));
|
||||
SagittariusGame.soundsVolume = Float.parseFloat(musicVolume.getTextField().getText());
|
||||
SagittariusGame.soundsVolume = Float.parseFloat(musicSounds.getTextField().getText());
|
||||
SagittariusGame.debugMode = debugModeBox.isChecked();
|
||||
|
||||
// Deactivate music or not
|
||||
|
|
Loading…
Reference in a new issue