Updates to work with latest libstormgames
This commit is contained in:
		| @@ -58,9 +58,9 @@ def game(mode): | |||||||
|     return "menu" |     return "menu" | ||||||
|  |  | ||||||
| # Game starts at main menu | # Game starts at main menu | ||||||
| mode = game_menu("start game", "instructions", "donate", "credits", "learn sounds", "exit_game") | mode = game_menu(sounds, "start game", "instructions", "donate", "credits", "learn sounds", "exit_game") | ||||||
| while mode != "exit_game": | while mode != "exit_game": | ||||||
|     if mode == "menu": mode = game_menu("start game", "instructions", "donate", "credits", "learn sounds", "exit_game") |     if mode == "menu": mode = game_menu(sounds, "start game", "instructions", "donate", "credits", "learn sounds", "exit_game") | ||||||
|     if mode == "start game": mode = game(mode) |     if mode == "start game": mode = game(mode) | ||||||
|     if mode == "learn sounds": mode = learn_sounds(sounds) |     if mode == "learn sounds": mode = learn_sounds(sounds) | ||||||
|     time.sleep(.001) |     time.sleep(.001) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user