From 56b0b44f665e172d68b4ee765662603e9bb1605b Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Fri, 6 Dec 2019 09:40:36 -0500 Subject: [PATCH] Escape now returns from cut scenes. --- libstormgames.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()