Escape now returns from cut scenes.

This commit is contained in:
Storm Dragon 2019-12-06 09:40:36 -05:00
parent bb711fb7a5
commit 56b0b44f66

View File

@ -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()