Updates to work with latest libstormgames
This commit is contained in:
parent
033a707957
commit
2af28e38fa
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user