bug fix initial coords

This commit is contained in:
happy531 2022-03-24 17:31:12 +01:00
parent 4661566f75
commit 5bf26e7207

View File

@ -10,8 +10,8 @@ class trashbin(pygame.sprite.Sprite):
self.height = 16 self.height = 16
# spawn coords # spawn coords
self.x = 0 self.x = x
self.y = 0 self.y = y
# load trashbin image # load trashbin image
self.image = pygame.image.load(img) self.image = pygame.image.load(img)