diff options
Diffstat (limited to 'src/gui/LevelDetails.java')
-rw-r--r-- | src/gui/LevelDetails.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/LevelDetails.java b/src/gui/LevelDetails.java index 4a417ec..f9239e7 100644 --- a/src/gui/LevelDetails.java +++ b/src/gui/LevelDetails.java @@ -84,7 +84,7 @@ public class LevelDetails extends VBox FlowPane diffSelector = new FlowPane(); diffSelector.setAlignment(Pos.CENTER); ToggleGroup diffToggleGroup = new ToggleGroup(); //allows only one to be selected at a time - for (Difficulty diff : level.getDiffList()) //adds a button for each diff + for (Difficulty diff : level.getValidDiffList()) //adds a button for each diff { RadioButton temp = new RadioButton(); temp.getStyleClass().remove("radio-button"); //makes the buttons not look like a radio button and instead a normal button |