Commit 709437f4 authored by jwacyk's avatar jwacyk
Browse files

modification menu.py ajout du bouton save

parent 546e95cb
......@@ -78,7 +78,7 @@ class Menu(object):
return True
elif self.save_button_rect.collidepoint(position):
self.save_number += 1
pygame.image.save(background, "saved/Image_" + str(self.save_number) + ".png")
pygame.image.save(background, "Image_" + str(self.save_number) + ".png")
return True
elif self.quit_button_rect.collidepoint(position):
pygame.quit()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment