fix
This commit is contained in:
parent
de480704d7
commit
98475393f5
|
@ -49,7 +49,7 @@ public class SettingsScreen extends BaseScreen {
|
|||
|
||||
// number players field
|
||||
SpinnerSounded nbPlanetsField = new SpinnerSounded("Number planets:",
|
||||
new SimpleFloatSpinnerModel(SagittariusGame.numberPlanets, Integer.parseInt(nbPlayersField.getTextField().getText()), 10, 1, 1));
|
||||
new SimpleFloatSpinnerModel(SagittariusGame.numberPlanets, SagittariusGame.numberPlayers, 10, 1, 1));
|
||||
|
||||
// dubug mode checkbox
|
||||
CheckBoxSounded debugModeBox = new CheckBoxSounded("debug mode");
|
||||
|
|
Loading…
Reference in a new issue