diff --git a/numnastics b/numnastics index 070581d..0b57f43 100755 --- a/numnastics +++ b/numnastics @@ -8,6 +8,7 @@ mode = "menu" sounds = initialize_gui("Numnastics") def game(mode): + pygame.mixer.music.pause() i = 0 startTime = time.time() tries = 0 diff --git a/storm_games.py b/storm_games.py index e7d15a0..9392e3b 100755 --- a/storm_games.py +++ b/storm_games.py @@ -136,10 +136,10 @@ def game_menu(*options): if event.key == pygame.K_ESCAPE: exit_game() if event.key == pygame.K_DOWN and i < len(options) - 1: i = i + 1 - pygame.mixer.music.unpause() + if options[i] != "donate": pygame.mixer.music.unpause() if event.key == pygame.K_UP and i > 0: i = i - 1 - pygame.mixer.music.unpause() + if options[i] != "donate": pygame.mixer.music.unpause() if event.key == pygame.K_RETURN: try: eval(options[i] + "()")