From 5bf26e7207ced4ee0f5ef67dca482f90c4aa6a24 Mon Sep 17 00:00:00 2001 From: happy531 Date: Thu, 24 Mar 2022 17:31:12 +0100 Subject: [PATCH] bug fix initial coords --- trashbin.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/trashbin.py b/trashbin.py index b08e74b..5e23ff2 100644 --- a/trashbin.py +++ b/trashbin.py @@ -10,8 +10,8 @@ class trashbin(pygame.sprite.Sprite): self.height = 16 # spawn coords - self.x = 0 - self.y = 0 + self.x = x + self.y = y # load trashbin image self.image = pygame.image.load(img)