From cb72fff93c267379d91b5e080623ae4c9a4570e2 Mon Sep 17 00:00:00 2001 From: s450026 Date: Fri, 3 Apr 2020 20:23:36 +0200 Subject: [PATCH] Fix bug --- src/main.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/main.py b/src/main.py index 0dcd5e4..acc039b 100644 --- a/src/main.py +++ b/src/main.py @@ -8,8 +8,6 @@ class Waiter(pygame.sprite.Sprite): pygame.sprite.Sprite.__init__(self) self.moveX = 0 self.moveY = 0 - self.clearX = 0 - self.clearY = 0 self.frame = 0 self.imageWaiter = waiter self.imageFloor = floor @@ -33,7 +31,7 @@ screen = pygame.display.set_mode((700, 750)) done = False block_size = 50 clock = pygame.time.Clock() -fps = 40 +fps = 30 ani = 40 rect = 1 @@ -53,7 +51,6 @@ waiterPly = Waiter() def main(): drawBackground() - while not done: for event in pygame.event.get(): if event.type == pygame.QUIT: