Fixed typo in menu.py.
This commit is contained in:
		
							
								
								
									
										6
									
								
								menu.py
									
									
									
									
									
								
							
							
						
						
									
										6
									
								
								menu.py
									
									
									
									
									
								
							| @@ -30,7 +30,7 @@ def game_menu(sounds, playCallback=None, *customOptions): | ||||
|      | ||||
|     Standard menu structure: | ||||
|     1. Play (always first) | ||||
|     2. High Scores (if scores exist) | ||||
|     2. High Scores | ||||
|     3. Custom options (if provided) | ||||
|     4. Learn Sounds | ||||
|     5. Instructions (if available) | ||||
| @@ -61,7 +61,7 @@ def game_menu(sounds, playCallback=None, *customOptions): | ||||
|     allOptions = ["play"] | ||||
|      | ||||
|     # Add high scores option if scores exist | ||||
|     if Scoreboard.hasHighScores(): | ||||
|     if Scoreboard.has_high_scores(): | ||||
|         allOptions.append("high_scores") | ||||
|      | ||||
|     # Add custom options (other menu items, etc.) | ||||
| @@ -204,7 +204,7 @@ def game_menu(sounds, playCallback=None, *customOptions): | ||||
|                             elif selectedOption == "learn_sounds": | ||||
|                                 learn_sounds(sounds) | ||||
|                             elif selectedOption == "high_scores": | ||||
|                                 Scoreboard.displayHighScores() | ||||
|                                 Scoreboard.displayHigh_scores() | ||||
|                             elif selectedOption == "donate": | ||||
|                                 donate() | ||||
|                              | ||||
|   | ||||
		Reference in New Issue
	
	Block a user