j'ai ptetre oublié de push mdrr

This commit is contained in:
Damien 2021-05-29 13:02:39 +02:00
parent 98475393f5
commit b27749fa9a

View file

@ -126,8 +126,8 @@ public class SettingsScreen extends BaseScreen {
super.tap(event, x, y, count, button);
SagittariusGame.G = Float.parseFloat(gConstField.getTextField().getText());
SagittariusGame.numberPlayers = Integer.parseInt(nbPlayersField.getTextField().getText());
SagittariusGame.numberPlanets = Integer.parseInt(nbPlanetsField.getTextField().getText());
SagittariusGame.numberPlayers = (int) Float.parseFloat(nbPlayersField.getTextField().getText());
SagittariusGame.numberPlanets = (int) Float.parseFloat(nbPlanetsField.getTextField().getText());
SagittariusGame.music
.setVolume(Float.parseFloat(musicVolume.getTextField().getText()));
SagittariusGame.musicVolume =