Commits

César Bustíos committed 9276996

Clicking quit button just sets running to false

  • Participants
  • Parent commits d1f615c
  • Branches new_game

Comments (0)

Files changed (1)

File src/memory.py

                 score = 0
             # Quit!!!???
             elif options['quit'].collidepoint(x, y):
-                pygame.quit()
-                sys.exit()
+                running = False
             elif options['blue_box'].collidepoint(x, y):
                 path = join(IMAGES_PATH, 'box1.png')
                 box_img = pygame.image.load(path).convert()