Updates to work with latest libstormgames

This commit is contained in:
Storm Dragon 2019-12-10 14:15:22 -05:00
parent 033a707957
commit 2af28e38fa

View File

@ -58,9 +58,9 @@ def game(mode):
return "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":
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 == "learn sounds": mode = learn_sounds(sounds)
time.sleep(.001)