diff --git a/game.py b/game.py index 38d9051..d529a1b 100755 --- a/game.py +++ b/game.py @@ -29,6 +29,7 @@ class Game: self.events = pygame.event.get() self.should_quit() self.reset_screen() + self.keys = pygame.key.get_pressed() self.game() for surf in self.surfs: pygame.blit(surf)