diff --git a/libstormgames.py b/libstormgames.py index afc821a..e3967ca 100755 --- a/libstormgames.py +++ b/libstormgames.py @@ -92,7 +92,7 @@ def cut_scene(sounds, soundName): c.play(sounds[soundName]) while pygame.mixer.get_busy(): event = pygame.event.poll() - if event.type == pygame.KEYDOWN and event.key in [pygame.K_RETURN, pygame.K_SPACE]: + if event.type == pygame.KEYDOWN and event.key in [pygame.K_ESCAPE, pygame.K_RETURN, pygame.K_SPACE]: pygame.mixer.stop() pygame.event.pump()